projects
/
suckless
/
slock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a217cb
)
select for SubstructureRedirectMask as well
author
anselm@garbe.us
<unknown>
Thu, 9 Feb 2012 19:56:34 +0000
(20:56 +0100)
committer
anselm@garbe.us
<unknown>
Thu, 9 Feb 2012 19:56:34 +0000
(20:56 +0100)
slock.c
patch
|
blob
|
history
diff --git
a/slock.c
b/slock.c
index 7f74f716e6abe538ea2d31f5c48bd5b5dcaab3f2..96d4379fbe64dedb8ed7dcefc3920aa094b72055 100644
(file)
--- a/
slock.c
+++ b/
slock.c
@@
-201,6
+201,8
@@
lockscreen(Display *dpy, int screen) {
unlockscreen(dpy, lock);
lock = NULL;
}
+ else
+ XSelectInput(dpy, lock->root, SubstructureNotifyMask);
return lock;
}