Xinqi Bao's Git
projects
/
slock.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
remove confusing DPMS comment
[slock.git]
/
slock.c
diff --git
a/slock.c
b/slock.c
index
2d57e81
..
c81f5dd
100644
(file)
--- a/
slock.c
+++ b/
slock.c
@@
-137,10
+137,6
@@
readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
running = 1;
failure = 0;
running = 1;
failure = 0;
- /* As "slock" stands for "Simple X display locker", the DPMS settings
- * had been removed and you can set it with "xset" or some other
- * utility. This way the user can easily set a customized DPMS
- * timeout. */
while (running && !XNextEvent(dpy, &ev)) {
if (ev.type == KeyPress) {
explicit_bzero(&buf, sizeof(buf));
while (running && !XNextEvent(dpy, &ev)) {
if (ev.type == KeyPress) {
explicit_bzero(&buf, sizeof(buf));