mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-06 17:17:04 +00:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user