From 0b1362846242d510c4fd160b7e6579278213a544 Mon Sep 17 00:00:00 2001 From: "anselm@garbe.us" Date: Thu, 9 Feb 2012 20:56:34 +0100 Subject: [PATCH] select for SubstructureRedirectMask as well --- slock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slock.c b/slock.c index 7f74f71..96d4379 100644 --- 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; }