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 */
while(running && !XNextEvent(dpy, &ev)) {
if(len == 0 && DPMSCapable(dpy)) {
DPMSEnabled(dpy);
DPMSEnable(dpy);
DPMSForceLevel(dpy, DPMSModeOff);
}
if(ev.type == KeyPress) {