From aa3685d16af4a565eecdc39047ee8d140ef5cd99 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 14 Jun 2010 13:52:21 -0400 Subject: add XFlush to g_timeout callbacks GMainLoop doesn't cause an flush to occur after handling a timeout. --- openbox/startupnotify.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbox/startupnotify.c') diff --git a/openbox/startupnotify.c b/openbox/startupnotify.c index 16654cfd..06fbb6c8 100644 --- a/openbox/startupnotify.c +++ b/openbox/startupnotify.c @@ -116,6 +116,7 @@ static gboolean sn_wait_timeout(gpointer data) SnStartupSequence *seq = data; sn_waits = g_slist_remove(sn_waits, seq); screen_set_root_cursor(); + XFlush(obt_display); return FALSE; /* don't repeat */ } @@ -228,6 +229,7 @@ static gboolean sn_launch_wait_timeout(gpointer data) { SnLauncherContext *sn = data; sn_launcher_context_complete(sn); + XFlush(obt_display); return FALSE; /* don't repeat */ } -- cgit v1.2.3