s/d//
authorAnselm R Garbe <garbeam@gmail.com>
Wed, 9 Apr 2008 22:42:50 +0000 (23:42 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Wed, 9 Apr 2008 22:42:50 +0000 (23:42 +0100)
slock.c

diff --git a/slock.c b/slock.c
index 12cd8ee..40f1fbe 100644 (file)
--- 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) {