diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-09-26 13:28:09 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-09-26 13:28:09 +0200 |
commit | 2d85c5baed4c4b4ecc19f7934fac1fc6a5b5c410 (patch) | |
tree | 94de2fc2e2c5638f1d25ba251ee286fcb3b2a1bf | |
parent | a98fba8971ab4b8d8b1f18422b808a79434d8923 (diff) |
remove confusing DPMS comment
FRIGN on hackers@suckless.org:
What has been bugging me for quite a while is this DPMS comment that was added
there for no reason. Every sane mind would agree that fiddling with DPMS makes
no sense whatsoever. When I slock, my screen turns off after 10 minutes. So, if
I don't like that, I disable DPMS. If I do, I just fiddle around with my mouse a
bit and get the slock promt.
-rw-r--r-- | slock.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -137,10 +137,6 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, | |||
137 | running = 1; | 137 | running = 1; |
138 | failure = 0; | 138 | failure = 0; |
139 | 139 | ||
140 | /* As "slock" stands for "Simple X display locker", the DPMS settings | ||
141 | * had been removed and you can set it with "xset" or some other | ||
142 | * utility. This way the user can easily set a customized DPMS | ||
143 | * timeout. */ | ||
144 | while (running && !XNextEvent(dpy, &ev)) { | 140 | while (running && !XNextEvent(dpy, &ev)) { |
145 | if (ev.type == KeyPress) { | 141 | if (ev.type == KeyPress) { |
146 | explicit_bzero(&buf, sizeof(buf)); | 142 | explicit_bzero(&buf, sizeof(buf)); |