summaryrefslogtreecommitdiff
path: root/dwm
diff options
context:
space:
mode:
Diffstat (limited to 'dwm')
-rw-r--r--dwm/dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm/dwm.c b/dwm/dwm.c
index a77e841..dc06c07 100644
--- a/dwm/dwm.c
+++ b/dwm/dwm.c
@@ -2483,7 +2483,7 @@ setup(void)
wa.cursor = cursor[CurNormal]->cursor;
wa.event_mask = SubstructureRedirectMask | SubstructureNotifyMask |
ButtonPressMask | PointerMotionMask | EnterWindowMask |
- LeaveWindowMask | StructureNotifyMask | PropertyChangeMask;
+ LeaveWindowMask | StructureNotifyMask | PropertyChangeMask | KeyPressMask;
XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
XSelectInput(dpy, root, wa.event_mask);
grabkeys();