Commit 459aa66d authored by Xaver Hugl's avatar Xaver Hugl Committed by Vlad Zahorodnii
Browse files

Set setMoveResize(true) after stopping fullscreen and quick tiling

BUG: 427848
parent 5058d5d1
...@@ -1552,7 +1552,9 @@ void XdgToplevelClient::setFullScreen(bool set, bool user) ...@@ -1552,7 +1552,9 @@ void XdgToplevelClient::setFullScreen(bool set, bool user)
} }
StackingUpdatesBlocker blocker1(workspace()); StackingUpdatesBlocker blocker1(workspace());
GeometryUpdatesBlocker blocker2(this); GeometryUpdatesBlocker blocker2(this);
dontMoveResize(); if (set) {
dontMoveResize();
}
workspace()->updateClientLayer(this); // active fullscreens get different layer workspace()->updateClientLayer(this); // active fullscreens get different layer
updateDecoration(false, false); updateDecoration(false, false);
...@@ -1614,7 +1616,9 @@ void XdgToplevelClient::changeMaximize(bool horizontal, bool vertical, bool adju ...@@ -1614,7 +1616,9 @@ void XdgToplevelClient::changeMaximize(bool horizontal, bool vertical, bool adju
} }
StackingUpdatesBlocker blocker(workspace()); StackingUpdatesBlocker blocker(workspace());
dontMoveResize(); if (m_requestedMaximizeMode != MaximizeRestore) {
dontMoveResize();
}
// call into decoration update borders // call into decoration update borders
if (isDecorated() && decoration()->client() && !(options->borderlessMaximizedWindows() && m_requestedMaximizeMode == KWin::MaximizeFull)) { if (isDecorated() && decoration()->client() && !(options->borderlessMaximizedWindows() && m_requestedMaximizeMode == KWin::MaximizeFull)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment