This commit is contained in:
Anselm R Garbe 2008-04-09 23:42:50 +01:00
parent cc36050e44
commit c0fdcb8afc

View File

@ -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) {