Revert the change for when to emit the maximizedChanged signal
It broke the maximize window effect. REVIEW: 110468
This commit is contained in:
parent
76d96506dc
commit
59690ee625
1 changed files with 2 additions and 2 deletions
|
@ -2096,6 +2096,8 @@ void Client::setMaximize(bool vertically, bool horizontally)
|
|||
max_mode & MaximizeVertical ? !vertically : vertically,
|
||||
max_mode & MaximizeHorizontal ? !horizontally : horizontally,
|
||||
false);
|
||||
emit clientMaximizedStateChanged(this, max_mode);
|
||||
emit clientMaximizedStateChanged(this, vertically, horizontally);
|
||||
|
||||
}
|
||||
|
||||
|
@ -2332,8 +2334,6 @@ void Client::changeMaximize(bool vertical, bool horizontal, bool adjust)
|
|||
syncer.syncNow(); // important because of window rule updates!
|
||||
|
||||
updateAllowedActions();
|
||||
emit clientMaximizedStateChanged(this, max_mode);
|
||||
emit clientMaximizedStateChanged(this, vertical, horizontal);
|
||||
updateWindowRules(Rules::MaximizeVert|Rules::MaximizeHoriz|Rules::Position|Rules::Size);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue