Browse Source

wayland: Don't overwrite clipboard data with the primary selection text

Primary selection text is handled separately, and shouldn't clobber the clipboard data.
Frank Praznik 1 month ago
parent
commit
7b9036bea6
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/video/wayland/SDL_waylandevents.c

+ 0 - 2
src/video/wayland/SDL_waylandevents.c

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