prevent moving of FS windows on 1-screen setup
CCBUG: 332565 Forward port of 124b6783de6f8f4cfb05289fa3398a7be164691b from kde-workspace
This commit is contained in:
parent
d8c9da0cc7
commit
90fb9a5aa9
1 changed files with 2 additions and 0 deletions
|
@ -2548,6 +2548,8 @@ bool Client::startMoveResize()
|
|||
stopDelayedMoveResize();
|
||||
if (QApplication::activePopupWidget() != NULL)
|
||||
return false; // popups have grab
|
||||
if (isFullScreen() && (screens()->count() < 2 || !isMovableAcrossScreens()))
|
||||
return false;
|
||||
bool has_grab = false;
|
||||
// This reportedly improves smoothness of the moveresize operation,
|
||||
// something with Enter/LeaveNotify events, looks like XFree performance problem or something *shrug*
|
||||
|
|
Loading…
Reference in a new issue