Skip to content

xwayland: Handle rootful resize in WindowResize

Commit fa7b1c20 ("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 change.

Reinstate the rootful size change in ResizeWindow to avoid that issue.

Closes: #1671 (closed)
Fixes: fa7b1c20 - xwayland: Use ConfigNotify screen hook instead of ResizeWindow
Signed-off-by: Olivier Fourdan ofourdan@redhat.com

/cc @daenzer

Edited by Olivier Fourdan

Merge request reports