summaryrefslogtreecommitdiffstats
path: root/src/x11util.c
diff options
context:
space:
mode:
authorSimon Rettberg2019-05-15 10:36:23 +0200
committerSimon Rettberg2019-05-15 10:36:23 +0200
commit79e00454d516acff0e4e5be97193917b4afc3fbc (patch)
tree037bdbd34990baf09a57f67376b8c9986b812126 /src/x11util.c
parentSupport user disabling saver + dpms (diff)
downloadidle-daemon-79e00454d516acff0e4e5be97193917b4afc3fbc.tar.gz
idle-daemon-79e00454d516acff0e4e5be97193917b4afc3fbc.tar.xz
idle-daemon-79e00454d516acff0e4e5be97193917b4afc3fbc.zip
Refine timings
Diffstat (limited to 'src/x11util.c')
-rw-r--r--src/x11util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11util.c b/src/x11util.c
index 18e2fe4..dc230b3 100644
--- a/src/x11util.c
+++ b/src/x11util.c
@@ -105,7 +105,7 @@ void setScreenDpms( const char *xauth, const char *display, int mode )
}
if ( ! doublefork() )
return;
- sleep( 2 ); // Sleep a bit in case this was called right after enabling the screen saver
+ sleep( 1 ); // Sleep a bit in case this was called right after enabling the screen saver
setScreenDpmsFork( xauth, display, mode );
exit( 0 );
}