commit 0b1362846242d510c4fd160b7e6579278213a544 parent 7a217cb7c4f1a7439b76f5fb839035d7021eb7ff Author: anselm@garbe.us <unknown> Date: Thu, 9 Feb 2012 20:56:34 +0100 select for SubstructureRedirectMask as well Diffstat:
M | slock.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/slock.c b/slock.c @@ -201,6 +201,8 @@ lockscreen(Display *dpy, int screen) { unlockscreen(dpy, lock); lock = NULL; } + else + XSelectInput(dpy, lock->root, SubstructureNotifyMask); return lock; }