grab the keyboard not the server!
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
plugins/keyboard/keyboard.c
→
plugins/keyboard/keyboard.c
@@ -34,7 +34,7 @@ /* XXX kill timer */
curpos = NULL; if (grabbed) { grabbed = FALSE; - grab_server(FALSE); + grab_keyboard(FALSE); } }@@ -111,7 +111,7 @@ p->state == e->data.x.e->xkey.state) {
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); }