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);
|
unlockscreen(dpy, lock);
|
||||||
lock = NULL;
|
lock = NULL;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
XSelectInput(dpy, lock->root, SubstructureNotifyMask);
|
||||||
|
|
||||||
return lock;
|
return lock;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user