Merge pull request #96540 from hunterkepley/fix-wayland-middlemouse-paste
Wayland: Fix primary clipboard handling
This commit is contained in:
commit
9abf86f4fe
|
@ -480,7 +480,7 @@ String DisplayServerWayland::clipboard_get_primary() const {
|
||||||
for (String mime : text_mimes) {
|
for (String mime : text_mimes) {
|
||||||
if (wayland_thread.primary_has_mime(mime)) {
|
if (wayland_thread.primary_has_mime(mime)) {
|
||||||
print_verbose(vformat("Selecting media type \"%s\" from offered types.", 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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue