summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2015-07-14 06:24:40 -0400
committerQuentin Carbonneaux2015-07-14 06:24:40 -0400
commit323d49b68c5e804ed3b8cada0e2274f1589b3484 (patch)
treeced5a151a780d5734a972ccf9db43c7a8f181a4f
parent2c096d22b6195cf917aa000dfae5f268fc4d52ee (diff)
fix bug with focus events
-rw-r--r--x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11.c b/x11.c
index dc8d608..4c5291d 100644
--- a/x11.c
+++ b/x11.c
@@ -231,12 +231,12 @@ nextevent(GEvent *gev)
case FocusIn:
if (xic)
XSetICFocus(xic);
- break;
+ continue;
case FocusOut:
if (xic)
XUnsetICFocus(xic);
- break;
+ continue;
case Expose:
sync();