mirror of
https://github.com/mintycube/slock.git
synced 2024-10-22 12:05:51 +00:00
select for SubstructureRedirectMask as well
This commit is contained in:
parent
7a217cb7c4
commit
0b13628462
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…
x
Reference in New Issue
Block a user