Make sure we don't resize clients before they've been set up
Summary: On Placement=Maximized it becomes a problem because we end up sending an invalid size and when we try to recover from it, we recover from the wrong size. This fixes setting the right size to Plasma Mobile applications. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D22054
This commit is contained in:
parent
515f3cbb4e
commit
22cbbca043
1 changed files with 1 additions and 1 deletions
|
@ -938,7 +938,7 @@ void AbstractClient::applyWindowRules()
|
|||
workspace()->activateNextClient(this);
|
||||
// Closeable
|
||||
QSize s = adjustedSize();
|
||||
if (s != size())
|
||||
if (s != size() && s.isValid())
|
||||
resizeWithChecks(s);
|
||||
// Autogrouping : Only checked on window manage
|
||||
// AutogroupInForeground : Only checked on window manage
|
||||
|
|
Loading…
Reference in a new issue