xserver/hw
Michel Dänzer 6aacf04f51 xwayland: Add heuristic for WM windows based on reparenting
If the WM client reparents a window, mark the new parent as a WM window.

This helps with current mutter, where decoration windows are created by
a separate mutter-x11-frames client instead of the WM client. There
might be other compositors doing something similar now or in the future.

v2:
* Skip the whole unwrap-and-call-down dance in xwl_reparent_window if
  xwl_screen->ReparentWindow is NULL.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2069>
(cherry picked from commit 105b5f2402)
2026-01-25 10:40:03 -08:00
..
kdrive Xephyr.man: Use \- to get ASCII hyphens instead of Unicode dashes 2026-01-25 10:40:01 -08:00
vfb man pages: remove extraneous PP macros 2026-01-25 10:40:01 -08:00
xfree86 Strip trailing whitespace from source files 2026-01-25 10:40:02 -08:00
xnest Xnest: use authorative declarations from X11/XKBlib.h 2026-01-25 10:40:01 -08:00
xquartz Strip trailing whitespace from source files 2026-01-25 10:40:02 -08:00
xwayland xwayland: Add heuristic for WM windows based on reparenting 2026-01-25 10:40:03 -08:00
xwin Strip trailing whitespace from source files 2026-01-25 10:40:02 -08:00
meson.build meson.build: print a summary of the DDX to build 2026-01-25 10:40:01 -08:00