Skip to content

wayland: Fix wayland windows growing after toggling decorations

After the decoration is destroyed, we need to resize XdgToplevelClient to ensure that the scheduled configure event will have correct size.

As is, xdg-toplevel configure events are delayed. When it's actually the time to send a configure event, XdgToplevelClient will compute the requested client size from the moveResizeGeometry().

If the moveResizeGeometry() still includes window decorations, the window will get bigger.

BUG: 444119

Edited by Vlad Zahorodnii

Merge request reports