summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-06-23 16:35:50 +0300
committerPekka Paalanen <pq@iki.fi>2022-06-23 14:13:41 +0000
commit59a72dcf638685a0a0276b8178d01e7d75064905 (patch)
tree05fa94db55df706d510f14decd59813bbf604d26 /shared
parent2929b6c483fc0f6a6f98656680c1ecd2d0f41787 (diff)
downloadweston-59a72dcf638685a0a0276b8178d01e7d75064905.tar.gz
shared/xcb-xwayland: Add missing atoms
Particularly important was _XWAYLAND_ALLOW_COMMITS atom which caused some annoying flicker when resizing or hoovering over buttons. This was introduced with 'shared/xcb-xwayland: Split into common helpers' and somehow I missed those atoms. Fixes 49d6532254fa27e3a28a3fb26d0b9d253d002125 Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'shared')
-rw-r--r--shared/xcb-xwayland.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/shared/xcb-xwayland.c b/shared/xcb-xwayland.c
index d72a15a9..bb207b90 100644
--- a/shared/xcb-xwayland.c
+++ b/shared/xcb-xwayland.c
@@ -109,6 +109,7 @@ x11_get_atoms(xcb_connection_t *connection, struct atom_x11 *atom)
{ "_NET_WM_MOVERESIZE", F(net_wm_moveresize) },
{ "_NET_SUPPORTING_WM_CHECK", F(net_supporting_wm_check) },
+
{ "_NET_SUPPORTED", F(net_supported) },
{ "_NET_ACTIVE_WINDOW", F(net_active_window) },
{ "_MOTIF_WM_HINTS", F(motif_wm_hints) },
@@ -125,6 +126,18 @@ x11_get_atoms(xcb_connection_t *connection, struct atom_x11 *atom)
{ "TEXT", F(text) },
{ "STRING", F(string) },
{ "WINDOW", F(window) },
+ { "text/plain;charset=utf-8", F(text_plain_utf8) },
+ { "text/plain", F(text_plain) },
+ { "XdndSelection", F(xdnd_selection) },
+ { "XdndAware", F(xdnd_aware) },
+ { "XdndEnter", F(xdnd_enter) },
+ { "XdndLeave", F(xdnd_leave) },
+ { "XdndDrop", F(xdnd_drop) },
+ { "XdndStatus", F(xdnd_status) },
+ { "XdndFinished", F(xdnd_finished) },
+ { "XdndTypeList", F(xdnd_type_list) },
+ { "XdndActionCopy", F(xdnd_action_copy) },
+ { "_XWAYLAND_ALLOW_COMMITS", F(allow_commits) },
{ "WL_SURFACE_ID", F(wl_surface_id) },
};