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
1 changed files with 2 additions and 0 deletions

View File

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