]> Dogcows Code - chaz/openbox/commitdiff
dont grab other windows while warping in opaque mode
authorDana Jansens <danakj@orodu.net>
Wed, 21 Aug 2002 09:50:47 +0000 (09:50 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 21 Aug 2002 09:50:47 +0000 (09:50 +0000)
src/Window.cc

index b129121c50b59e03f75bd7343222c64bf41007dd..d696161e0929ee0d71cffbd8f865bae80efae656 100644 (file)
@@ -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();
 
This page took 0.028963 seconds and 4 git commands to generate.