mirror of https://github.com/libsdl-org/SDL.git
wayland: Don't overwrite clipboard data with the primary selection text
Primary selection text is handled separately, and shouldn't clobber the clipboard data.
This commit is contained in:
parent
f7cadcba84
commit
7b9036bea6
|
|
@ -2563,8 +2563,6 @@ static void primary_selection_device_handle_selection(void *data, struct zwp_pri
|
|||
SDL_LogTrace(SDL_LOG_CATEGORY_INPUT,
|
||||
". In zwp_primary_selection_device_v1_listener . primary_selection_device_handle_selection on primary_selection_offer 0x%08x",
|
||||
(id ? WAYLAND_wl_proxy_get_id((struct wl_proxy *)id) : -1));
|
||||
|
||||
notifyFromMimes(offer ? &offer->mimes : NULL);
|
||||
}
|
||||
|
||||
static const struct zwp_primary_selection_device_v1_listener primary_selection_device_listener = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue