[wayland] Place all toplevels before the first configure
Summary: Currently popups get positioned once at the initial configure, to set the correct size and again when they are mapped. Toplevels are currently only positioned when they are mapped. This works for all cases where the the toplevel defines its own size, but not if the window should have an initial size set by the placement strategy or window rules. Most notably the maximised placement strategy used on plasma mobile. Being out of sync and resizing later currently causes a positioning bug when plasma mobile is used with XdgShell. This patch repositions all top levels that don't have a position set through the plasma interface. Test Plan: Relevant unit test Reviewers: #kwin, bshah Reviewed By: bshah Subscribers: zzag, bshah, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D20241
parent
985601e0
Please register or sign in to comment