dont grab other windows while warping in opaque mode
This commit is contained in:
parent
d7a655137b
commit
d181f1ad05
1 changed files with 6 additions and 0 deletions
|
@ -3135,6 +3135,9 @@ void BlackboxWindow::doWorkspaceWarping(int x_root, int y_root, int &dx) {
|
|||
screen->reassociateWindow(this, dest, False);
|
||||
screen->changeWorkspaceID(dest);
|
||||
|
||||
if (screen->doOpaqueMove())
|
||||
XGrabServer(blackbox->getXDisplay());
|
||||
|
||||
XUngrabPointer(blackbox->getXDisplay(), CurrentTime);
|
||||
XWarpPointer(blackbox->getXDisplay(), None,
|
||||
screen->getRootWindow(), 0, 0, 0, 0,
|
||||
|
@ -3144,6 +3147,9 @@ void BlackboxWindow::doWorkspaceWarping(int x_root, int y_root, int &dx) {
|
|||
GrabModeAsync, GrabModeAsync,
|
||||
None, blackbox->getMoveCursor(), CurrentTime);
|
||||
|
||||
if (screen->doOpaqueMove())
|
||||
XUngrabServer(blackbox->getXDisplay());
|
||||
|
||||
if (focus)
|
||||
setInputFocus();
|
||||
|
||||
|
|
Loading…
Reference in a new issue