From: Dana Jansens Date: Tue, 18 Mar 2003 20:02:09 +0000 (+0000) Subject: grab the keyboard not the server! X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=6dd06740e9934b118f83e4430a5d78adebecc1da;p=chaz%2Fopenbox grab the keyboard not the server! --- diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c index f110e184..05481b53 100644 --- a/plugins/keyboard/keyboard.c +++ b/plugins/keyboard/keyboard.c @@ -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); }