summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-04-09 23:42:50 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-04-09 23:42:50 +0100
commitc0fdcb8afc42cc568b852bd34fdfd66716cf13ec (patch)
tree6bfa678893fd962c92dc2ff33a213aa780887c29
parentcc36050e44faa01b2783640ffb2323329d15f97d (diff)
downloadslock-c0fdcb8afc42cc568b852bd34fdfd66716cf13ec.tar.gz
slock-c0fdcb8afc42cc568b852bd34fdfd66716cf13ec.tar.xz
s/d//
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
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) {