xserver/hw
Vlad Zahorodnii 5546c913b3 xwayland: Use correct xwl_window lookup function in xwl_set_shape
In xwl_set_shape(), xwl_window_set_input_region() should be called only
when the input shape of the toplevel window changes.

However, given that xwl_window_from_window() is going to walk the
ancestor tree until it finds an xwl_window, that lookup function cannot
be used. Instead, xwl_window_get() should be used. It's going to return
a valid xwl_window object iff the specified window has one associated
with it.

Fixes: a4ed100c0 - xwayland: Set wl_surface input region
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1672
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Signed-off-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1516>
(cherry picked from commit 8c2b9f4e71)
2026-01-25 10:39:53 -08:00
..
kdrive rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
vfb Xvfb: Support up to 13 mouse buttons 2024-01-08 11:16:11 +00:00
xfree86 dbe: unexport dbestruct.h 2026-01-25 10:39:52 -08:00
xnest rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
xquartz Fix missing include of sys/stat.h 2026-01-19 12:48:30 -08:00
xwayland xwayland: Use correct xwl_window lookup function in xwl_set_shape 2026-01-25 10:39:53 -08:00
xwin rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00