diff options
author | Simon Rettberg | 2019-05-15 10:36:23 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-05-15 10:36:23 +0200 |
commit | 79e00454d516acff0e4e5be97193917b4afc3fbc (patch) | |
tree | 037bdbd34990baf09a57f67376b8c9986b812126 /src/x11util.c | |
parent | Support user disabling saver + dpms (diff) | |
download | idle-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.c | 2 |
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 ); } |