Browse Source

s/d//

master
Anselm R Garbe 17 years ago
parent
commit
c0fdcb8afc
  1. 2
      slock.c

2
slock.c

@ -126,7 +126,7 @@ main(int argc, char **argv) {
/* main event loop */ /* main event loop */
while(running && !XNextEvent(dpy, &ev)) { while(running && !XNextEvent(dpy, &ev)) {
if(len == 0 && DPMSCapable(dpy)) { if(len == 0 && DPMSCapable(dpy)) {
DPMSEnabled(dpy); DPMSEnable(dpy);
DPMSForceLevel(dpy, DPMSModeOff); DPMSForceLevel(dpy, DPMSModeOff);
} }
if(ev.type == KeyPress) { if(ev.type == KeyPress) {

Loading…
Cancel
Save