diff options
-rw-r--r-- | slock.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -201,6 +201,8 @@ lockscreen(Display *dpy, int screen) { | |||
201 | unlockscreen(dpy, lock); | 201 | unlockscreen(dpy, lock); |
202 | lock = NULL; | 202 | lock = NULL; |
203 | } | 203 | } |
204 | else | ||
205 | XSelectInput(dpy, lock->root, SubstructureNotifyMask); | ||
204 | 206 | ||
205 | return lock; | 207 | return lock; |
206 | } | 208 | } |