xserver/hw
Olivier Fourdan 32e16082c5 xwayland: Stop on first unmapped child
If a child window of the same size is unmapped, we should stop walking
the tree looking for the surface window to use.

Whatever lies beneath is not visible anyway.

This also fixes an issue with the Damage list becoming corrupted when
destroying a window, because the first thing that DeleteWindow() does
is to unmap the window and crush the window tree underneath it.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Fixes: 3a0fc268 - xwayland: Add xwl_window::surface_window
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1680
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1564>
2024-06-17 07:06:38 +00:00
..
kdrive os: unexport ddx callbacks 2024-05-08 09:37:35 +02:00
vfb os: unexport ddx callbacks 2024-05-08 09:37:35 +02:00
xfree86 modesetting/dri2: Remove always true ifdef 2024-05-22 05:34:30 +00:00
xnest os: unexport ddx callbacks 2024-05-08 09:37:35 +02:00
xquartz os: unexport ddx callbacks 2024-05-08 09:37:35 +02:00
xwayland xwayland: Stop on first unmapped child 2024-06-17 07:06:38 +00:00
xwin os: unexport ddx callbacks 2024-05-08 09:37:35 +02:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00