From: Anselm R Garbe Date: Wed, 9 Apr 2008 22:42:50 +0000 (+0100) Subject: s/d// X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=c0fdcb8afc42cc568b852bd34fdfd66716cf13ec;p=slock.git s/d// --- diff --git a/slock.c b/slock.c index 12cd8ee..40f1fbe 100644 --- a/slock.c +++ b/slock.c @@ -126,7 +126,7 @@ main(int argc, char **argv) { /* main event loop */ while(running && !XNextEvent(dpy, &ev)) { if(len == 0 && DPMSCapable(dpy)) { - DPMSEnabled(dpy); + DPMSEnable(dpy); DPMSForceLevel(dpy, DPMSModeOff); } if(ev.type == KeyPress) {