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/dock.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openbox/dock.c') diff --git a/openbox/dock.c b/openbox/dock.c index fa088c6b..64406d9e 100644 --- a/openbox/dock.c +++ b/openbox/dock.c @@ -632,6 +632,7 @@ static gboolean hide_timeout(gpointer data) hide_timeout_id = 0; + XFlush(obt_display); return FALSE; /* don't repeat */ } @@ -643,6 +644,7 @@ static gboolean show_timeout(gpointer data) show_timeout_id = 0; + XFlush(obt_display); return FALSE; /* don't repeat */ } -- cgit v1.2.3