s/d//
This commit is contained in:
parent
cc36050e44
commit
c0fdcb8afc
2
slock.c
2
slock.c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue