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:
Frank Praznik 2025-02-27 11:07:27 -05:00
parent f7cadcba84
commit 7b9036bea6
No known key found for this signature in database
1 changed files with 0 additions and 2 deletions

View File

@ -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 = {