summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver/xscreensaver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/xscreensaver.c b/driver/xscreensaver.c
index 03d2d91..e960f7c 100644
--- a/driver/xscreensaver.c
+++ b/driver/xscreensaver.c
@@ -1381,9 +1381,11 @@ main_loop (saver_info *si)
was_locked = True;
si->dbox_up_p = True;
/* bwlp: make sure saver is running */
+ usleep(10000);
for (i = 0; i < si->nscreens; i++)
if (si->screens[i].pid == 0)
spawn_screenhack (&si->screens[i]);
+ usleep(50000);
/* -- */
for (i = 0; i < si->nscreens; i++)
suspend_screenhack (&si->screens[i], True); /* suspend */