window: Replay move window action if window isn't movable

Otherwise, when using Alt as modifier for moving windows, the tabbox window
cannot be clicked because Alt is held down during Alt+Tab, which would try
to initiate a window move but the window isn't actually movable, so ends up
doing nothing.

It also allows to interact with Plasma popups, which are also immovable,
while the modified key is pressed.
This commit is contained in:
Kai Uwe Broulik 2023-08-16 21:45:55 +02:00
parent 10ed34bc9d
commit f9e390c716

View file

@ -2146,6 +2146,7 @@ bool Window::performMouseCommand(Options::MouseCommand cmd, const QPointF &globa
case Options::MouseMove:
case Options::MouseUnrestrictedMove: {
if (!isMovableAcrossScreens()) {
replay = true;
break;
}
if (isInteractiveMoveResize()) {