diff options
-rw-r--r-- | window-xlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/window-xlib.c b/window-xlib.c index 530a245..4338065 100644 --- a/window-xlib.c +++ b/window-xlib.c @@ -119,7 +119,7 @@ void runes_window_backend_loop_init(RunesTerm *t, int argc, char *argv[]) XGetICValues(w->ic, XNFilterEvents, &mask, NULL); XSelectInput( w->dpy, w->w, - mask|KeyPressMask|ButtonPressMask|ButtonReleaseMask|ButtonMotionMask|PointerMotionHintMask|StructureNotifyMask|ExposureMask|FocusChangeMask); + mask|KeyPressMask|ButtonPressMask|ButtonReleaseMask|ButtonMotionMask|PointerMotionHintMask|EnterWindowMask|LeaveWindowMask|StructureNotifyMask|ExposureMask|FocusChangeMask); XSetICFocus(w->ic); data = malloc(sizeof(RunesXlibLoopData)); |