diff options
-rw-r--r-- | slock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ main(int argc, char **argv) { | |||
126 | /* main event loop */ | 126 | /* main event loop */ |
127 | while(running && !XNextEvent(dpy, &ev)) { | 127 | while(running && !XNextEvent(dpy, &ev)) { |
128 | if(len == 0 && DPMSCapable(dpy)) { | 128 | if(len == 0 && DPMSCapable(dpy)) { |
129 | DPMSEnabled(dpy); | 129 | DPMSEnable(dpy); |
130 | DPMSForceLevel(dpy, DPMSModeOff); | 130 | DPMSForceLevel(dpy, DPMSModeOff); |
131 | } | 131 | } |
132 | if(ev.type == KeyPress) { | 132 | if(ev.type == KeyPress) { |