From 6dd06740e9934b118f83e4430a5d78adebecc1da Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 18 Mar 2003 20:02:09 +0000 Subject: [PATCH 1/1] grab the keyboard not the server! --- plugins/keyboard/keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.45.2