summaryrefslogtreecommitdiff
path: root/openbox/menuframe.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/menuframe.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/menuframe.c')
-rw-r--r--openbox/menuframe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/menuframe.c b/openbox/menuframe.c
index 5708cdf8..fafc0f79 100644
--- a/openbox/menuframe.c
+++ b/openbox/menuframe.c
@@ -1158,6 +1158,7 @@ static gboolean submenu_show_timeout(gpointer data)
{
g_assert(menu_frame_visible);
menu_entry_frame_show_submenu((ObMenuEntryFrame*)data);
+ XFlush(obt_display);
return FALSE;
}
@@ -1165,6 +1166,7 @@ static gboolean submenu_hide_timeout(gpointer data)
{
g_assert(menu_frame_visible);
menu_frame_hide((ObMenuFrame*)data);
+ XFlush(obt_display);
return FALSE;
}