From 59a72dcf638685a0a0276b8178d01e7d75064905 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 23 Jun 2022 16:35:50 +0300 Subject: [PATCH] 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 --- shared/xcb-xwayland.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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) }, };