select for SubstructureRedirectMask as well

This commit is contained in:
anselm@garbe.us 2012-02-09 20:56:34 +01:00
parent 7a217cb7c4
commit 0b13628462

View file

@ -201,6 +201,8 @@ lockscreen(Display *dpy, int screen) {
unlockscreen(dpy, lock); unlockscreen(dpy, lock);
lock = NULL; lock = NULL;
} }
else
XSelectInput(dpy, lock->root, SubstructureNotifyMask);
return lock; return lock;
} }