Wayland: Fix primary clipboard handling

This commit is contained in:
hunterkepley 2024-09-03 21:51:03 -04:00 committed by hunterkepley
parent e2dd56bea7
commit 7949585aad

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