Browse Source

Merge pull request #96540 from hunterkepley/fix-wayland-middlemouse-paste

Wayland: Fix primary clipboard handling
Rémi Verschelde 1 year ago
parent
commit
9abf86f4fe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/linuxbsd/wayland/display_server_wayland.cpp

+ 1 - 1
platform/linuxbsd/wayland/display_server_wayland.cpp

@@ -480,7 +480,7 @@ String DisplayServerWayland::clipboard_get_primary() const {
 	for (String mime : text_mimes) {
 		if (wayland_thread.primary_has_mime(mime)) {
 			print_verbose(vformat("Selecting media type \"%s\" from offered types.", mime));
-			wayland_thread.primary_get_mime(mime);
+			data = wayland_thread.primary_get_mime(mime);
 			break;
 		}
 	}