From 79e00454d516acff0e4e5be97193917b4afc3fbc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 15 May 2019 10:36:23 +0200 Subject: Refine timings --- src/x11util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/x11util.c') 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 ); } -- cgit v1.2.3-55-g7522