diff options
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client.c b/client.c index ff492de..f30910a 100644 --- a/client.c +++ b/client.c @@ -659,6 +659,10 @@ client_cycle(struct screen_ctx *sc, int flags) struct client_ctx *newcc, *oldcc; int again = 1; + /* For X apps that ignore events. */ + XGrabKeyboard(X_Dpy, sc->rootwin, True, + GrabModeAsync, GrabModeAsync, CurrentTime); + if (TAILQ_EMPTY(&sc->clientq)) return; |