diff options
Diffstat (limited to 'slock.c')
-rw-r--r-- | slock.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -201,6 +201,8 @@ lockscreen(Display *dpy, int screen) { unlockscreen(dpy, lock); lock = NULL; } + else + XSelectInput(dpy, lock->root, SubstructureNotifyMask); return lock; } |