summaryrefslogtreecommitdiff
path: root/dwm/dwm.c
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-20 16:38:13 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-20 16:38:13 +0900
commitd65e11f53b49d9c9458b7e86e6a3eaa5f1c221c2 (patch)
tree8ce9b0619baa544b936323d0d6433af94318a050 /dwm/dwm.c
parentf543a8040c622c9c289ca544643edcea7351e371 (diff)
modified dwm/dwm.c, modified slock/slock.c
Diffstat (limited to 'dwm/dwm.c')
-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();