aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rio/main.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 10:53:20 +0000
committerrsc <devnull@localhost>2005-07-13 10:53:20 +0000
commitdf03d60c047a3010f800b26883763764be8d5744 (patch)
tree9c2977b9cb7846bed1a06b55842a6b2a50d8dca2 /src/cmd/rio/main.c
parent7643b2635cb8f0688144ecf8e5b57b605258b6a7 (diff)
downloadplan9port-df03d60c047a3010f800b26883763764be8d5744.tar.gz
plan9port-df03d60c047a3010f800b26883763764be8d5744.tar.bz2
plan9port-df03d60c047a3010f800b26883763764be8d5744.zip
keystrokes
Diffstat (limited to 'src/cmd/rio/main.c')
-rw-r--r--src/cmd/rio/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/rio/main.c b/src/cmd/rio/main.c
index 71f85fbc..bc43a99f 100644
--- a/src/cmd/rio/main.c
+++ b/src/cmd/rio/main.c
@@ -335,7 +335,8 @@ initscreen(ScreenInfo *s, int i, int background)
attr.cursor = s->arrow;
attr.event_mask = SubstructureRedirectMask
| SubstructureNotifyMask | ColormapChangeMask
- | ButtonPressMask | ButtonReleaseMask | PropertyChangeMask;
+ | ButtonPressMask | ButtonReleaseMask | PropertyChangeMask |
+ KeyPressMask;
mask = CWCursor|CWEventMask;
XChangeWindowAttributes(dpy, s->root, mask, &attr);
XSync(dpy, False);