aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-09 14:29:08 +0000
committerrsc <devnull@localhost>2004-06-09 14:29:08 +0000
commit678359a95a034148c0c0ad268a3f00ba49569552 (patch)
tree3efa190248d8cdda8d8fe438bdeb55276190332a
parent26af0278ae93c2ea4cb6b46ae7c49f6eb5ec826c (diff)
downloadplan9port-678359a95a034148c0c0ad268a3f00ba49569552.tar.gz
plan9port-678359a95a034148c0c0ad268a3f00ba49569552.tar.bz2
plan9port-678359a95a034148c0c0ad268a3f00ba49569552.zip
wkj says to do this
-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");