aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd/rio/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/rio/main.c b/src/cmd/rio/main.c
index 802c6c6e..22395d70 100644
--- a/src/cmd/rio/main.c
+++ b/src/cmd/rio/main.c
@@ -416,6 +416,7 @@ sendcmessage(Window w, Atom a, long x, int isroot)
mask = SubstructureRedirectMask; /* magic! */
else
mask = ExposureMask; /* not really correct but so be it */
+ mask |= KeyPressMask; /* seems to be necessary */
status = XSendEvent(dpy, w, False, mask, &ev);
if (status == 0)
fprintf(stderr, "rio: sendcmessage failed\n");