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

Wayland: Fix primary clipboard handling
This commit is contained in:
Rémi Verschelde 2024-09-04 11:16:42 +02:00
commit 9abf86f4fe
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}