summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd
diff options
context:
space:
mode:
authorhunterkepley <kepley.l.hunter@gmail.com>2024-09-03 21:51:03 -0400
committerhunterkepley <hkepley@redhat.com>2024-09-03 22:39:54 -0400
commit7949585aad36a7608344ad23736eadd39c769187 (patch)
tree1b505bbe043e13f6fa69e2f23aebbbb4fd989ca8 /platform/linuxbsd
parente2dd56bea7a1aa13fe74fd6eac049e4cbde0434c (diff)
downloadredot-engine-7949585aad36a7608344ad23736eadd39c769187.tar.gz
Wayland: Fix primary clipboard handling
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r--platform/linuxbsd/wayland/display_server_wayland.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/wayland/display_server_wayland.cpp b/platform/linuxbsd/wayland/display_server_wayland.cpp
index d1d83fe4ce..0da0a0975e 100644
--- a/platform/linuxbsd/wayland/display_server_wayland.cpp
+++ b/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;
}
}