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:
2
dwm.c
2
dwm.c
@@ -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();
|
||||
|
Reference in New Issue
Block a user