keystrokes

This commit is contained in:
rsc 2005-07-13 10:53:20 +00:00
parent 7643b2635c
commit df03d60c04
3 changed files with 5 additions and 3 deletions

View file

@ -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);