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/keyboard.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbox/keyboard.c') diff --git a/openbox/keyboard.c b/openbox/keyboard.c index 5b8016dd..95433acc 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -66,6 +66,7 @@ static void grab_keys(gboolean grab) static gboolean chain_timeout(gpointer data) { keyboard_reset_chains(0); + XFlush(obt_display); return FALSE; /* don't repeat */ } -- cgit v1.2.3