Slock Changes

- Replace light-locker with slock in config.def.h
- Add keypress mask for slock mediakeys patch in dwm.c
This commit is contained in:
Sravan Balaji
2020-12-11 11:23:14 -05:00
parent edb4762434
commit ef6b5ee95a
2 changed files with 4 additions and 5 deletions

2
dwm.c
View File

@@ -2060,7 +2060,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();