mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Commitfa7b1c20("xwayland: Use ConfigNotify screen hook instead of ResizeWindow") replaced the WindowResize hook with ConfigNotify. However, that's breaking rootful Xwayland with libdecor because the root window size is already set so the libdecor size is not updated, and the root size will be reverted back as soon as the focus changes. Reinstate the rootful size change in ResizeWindow to avoid that issue. Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1669 Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1671 Fixes:fa7b1c20- xwayland: Use ConfigNotify screen hook instead of ResizeWindow Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1521> (cherry picked from commit31d6f9998d)