select for SubstructureRedirectMask as well
This commit is contained in:
parent
7a217cb7c4
commit
0b13628462
1 changed files with 2 additions and 0 deletions
2
slock.c
2
slock.c
|
@ -201,6 +201,8 @@ lockscreen(Display *dpy, int screen) {
|
|||
unlockscreen(dpy, lock);
|
||||
lock = NULL;
|
||||
}
|
||||
else
|
||||
XSelectInput(dpy, lock->root, SubstructureNotifyMask);
|
||||
|
||||
return lock;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue