]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
add XFlush to g_timeout callbacks
[chaz/openbox] / openbox / event.c
index 9701ad62bd2bb81a6ff2a9d074077a630197993e..46baa6dd41e7c41cee0f6f9effc776a0c8e12e17 100644 (file)
@@ -2079,6 +2079,7 @@ static gboolean focus_delay_func(gpointer data)
     if (client_focus(d->client) && config_focus_raise)
         stacking_raise(CLIENT_AS_WINDOW(d->client));
     event_curtime = old;
+    XFlush(obt_display);
     return FALSE; /* no repeat */
 }
 
@@ -2091,6 +2092,7 @@ static gboolean unfocus_delay_func(gpointer data)
     event_curserial = d->serial;
     focus_nothing();
     event_curtime = old;
+    XFlush(obt_display);
     return FALSE; /* no repeat */
 }
 
This page took 0.023033 seconds and 4 git commands to generate.