summaryrefslogtreecommitdiff
path: root/openbox/startupnotify.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-06-14 13:52:21 -0400
committerDana Jansens <danakj@orodu.net>2010-06-14 13:52:21 -0400
commitaa3685d16af4a565eecdc39047ee8d140ef5cd99 (patch)
treedbd52b14ef66f591f9d1becb813f802c4db337c6 /openbox/startupnotify.c
parent79cf72d17ff42e5bc8eb1adbd98bb42aa71fb085 (diff)
add XFlush to g_timeout callbacks
GMainLoop doesn't cause an flush to occur after handling a timeout.
Diffstat (limited to 'openbox/startupnotify.c')
-rw-r--r--openbox/startupnotify.c2
1 files changed, 2 insertions, 0 deletions
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 */
}