Skip to content

wayland: Move or resize xdg-toplevel window during initialization only if...

Vlad Zahorodnii requested to merge work/zzag/move-resize-only-if-enforced into master

wayland: Move or resize xdg-toplevel window during initialization only if geometry is enforced by a window rule

move() and resize() functions are not convenience helpers around the moveResize() function. They communicate what kwin wants to see after the corresponding change is applied. It's needed to make asynchronous geometry updates work.

This change replaces a moveResize() during XdgToplevelClient initialization with explicit move() and resize() function calls instead, so it's more clear what the expected end result is.

Merge request reports

Loading