Unset electric border after interactive move

AbstractClient::setQuickTileMode() no longer updates electric border
mode, which can leave AbstractClient::electricBorderMode() with an old
value at the next interactive move and potentially result in quick
tiling not work if the user decides to untile and then tile the window
again while still holding left button.
This commit is contained in:
Vlad Zahorodnii 2022-02-03 21:51:01 +02:00
parent 185395caab
commit 03efdabf26

View file

@ -1021,6 +1021,7 @@ void AbstractClient::finishInteractiveMoveResize(bool cancel)
setQuickTileMode(electricBorderMode());
setElectricBorderMaximizing(false);
}
setElectricBorderMode(QuickTileMode(QuickTileFlag::None));
Q_EMIT clientFinishUserMovedResized(this);
}