[hackers] [slock] remove confusing DPMS comment || Markus Teich

From: <git_AT_suckless.org>
Date: Mon, 26 Sep 2016 13:28:28 +0200 (CEST)

commit 2d85c5baed4c4b4ecc19f7934fac1fc6a5b5c410
Author: Markus Teich <markus.teich_AT_stusta.mhn.de>
AuthorDate: Mon Sep 26 13:28:09 2016 +0200
Commit: Markus Teich <markus.teich_AT_stusta.mhn.de>
CommitDate: Mon Sep 26 13:28:09 2016 +0200

    remove confusing DPMS comment
    
    FRIGN on hackers_AT_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.

diff --git a/slock.c b/slock.c
index 2d57e81..c81f5dd 100644
--- a/slock.c
+++ b/slock.c
_AT_@ -137,10 +137,6 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
         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));
Received on Mon Sep 26 2016 - 13:28:28 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 26 2016 - 13:36:14 CEST