aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/headless.h
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-12-22 13:18:47 +0300
committerSimon Ser <contact@emersion.fr>2022-12-22 14:40:58 +0000
commita922428c41dedea2c27f614963e7876926bba7fb (patch)
treecd3c6f8ddf3adc7e7fc6b2c6436d5fddd4c75f67 /include/wlr/backend/headless.h
parent884237e9afb582699a9c0d051769c3a89f8a9b22 (diff)
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
Diffstat (limited to 'include/wlr/backend/headless.h')
0 files changed, 0 insertions, 0 deletions