wlroots-hyprland/xwayland
Kirill Primak a922428c41 xwayland/xwm: dissociate even if surface is NULL
If a window is unmapped too quickly, we might receive UnmapNotify before
we get the corresponding wl_surface, which will later lead to
associating the same window twice. To fix this, move the NULL surface
check to xwayland_surface_dissociate(), which makes resetting the
unpaired link and the wl_surface object ID unconditional.

Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3552
2022-12-22 14:40:58 +00:00
..
selection Zero-initialize structs in init functions 2022-04-28 10:09:50 +02:00
meson.build xwayland: use HAVE_ prefix for xcb_xfixes_set_client_disconnect_mode 2022-12-08 02:06:40 +01:00
server.c xwayland: use internal_config 2022-12-06 22:39:45 +00:00
shell.c xwayland/shell: add wlr_xwayland_shell_v1_surface_from_serial() 2022-11-18 15:35:20 +00:00
sockets.c xwayland/sockets: ensure proper permissions 2021-04-16 11:53:05 +02:00
sockets.h xwayland: remove remaining SOCK_CLOEXEC 2019-02-20 17:04:00 +01:00
xwayland.c xwayland: use HAVE_ prefix for xcb_xfixes_set_client_disconnect_mode 2022-12-08 02:06:40 +01:00
xwm.c xwayland/xwm: dissociate even if surface is NULL 2022-12-22 14:40:58 +00:00