]> Dogcows Code - chaz/openbox/blobdiff - plugins/keyboard/keyboard.c
usnig flex directly, renaming symbols so that theres no clash with other lexers
[chaz/openbox] / plugins / keyboard / keyboard.c
index 6836ca1618e36bc641b832ab4514ae63b7d20760..30ed5adaac3e256145c509216bdb1ced071ddbe8 100644 (file)
@@ -102,9 +102,9 @@ static void press(ObEvent *e, void *foo)
                     if (!grabbed) {
                         grab_keyboard(TRUE);
                         grabbed = TRUE;
-                        XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
                     }
                     curpos = p;
+                    XAllowEvents(ob_display, AsyncKeyboard, CurrentTime);
                 } else {
                     if (p->action->func != NULL) {
                         p->action->data.any.c = focus_client;
This page took 0.022798 seconds and 4 git commands to generate.