]> Dogcows Code - chaz/openbox/commitdiff
grab the keyboard not the server!
authorDana Jansens <danakj@orodu.net>
Tue, 18 Mar 2003 20:02:09 +0000 (20:02 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 18 Mar 2003 20:02:09 +0000 (20:02 +0000)
plugins/keyboard/keyboard.c

index f110e18490220063e74cc54069c7a81a6603a8bb..05481b53b5037b7638550a5835cf275d04645b0b 100644 (file)
@@ -34,7 +34,7 @@ static void reset_chains()
     curpos = NULL;
     if (grabbed) {
        grabbed = FALSE;
-        grab_server(FALSE);
+        grab_keyboard(FALSE);
     }
 }
 
@@ -111,7 +111,7 @@ static void press(ObEvent *e, void *foo)
                 if (p->first_child != NULL) { /* part of a chain */
                     /* XXX TIMER */
                     if (!grabbed) {
-                        grab_server(TRUE);
+                        grab_keyboard(TRUE);
                         grabbed = TRUE;
                         XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
                     }
This page took 0.025956 seconds and 4 git commands to generate.