X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmoveresize.c;fp=openbox%2Fmoveresize.c;h=13f39df2a64b10092a99d7b85dd265541e54ba0f;hb=aa3685d16af4a565eecdc39047ee8d140ef5cd99;hp=2f68395a1e9ec5cc30bcfd6b8b0f40ffc02038e3;hpb=79cf72d17ff42e5bc8eb1adbd98bb42aa71fb085;p=chaz%2Fopenbox diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 2f68395a..13f39df2 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -462,6 +462,8 @@ static gboolean sync_timeout_func(gpointer data) ++waiting_for_sync; /* we timed out waiting for our sync... */ do_resize(); /* ...so let any pending resizes through */ + XFlush(obt_display); + if (waiting_for_sync > SYNC_TIMEOUTS) { sync_timer = 0; return FALSE; /* don't repeat */ @@ -616,6 +618,7 @@ static gboolean edge_warp_delay_func(gpointer data) } edge_warp_odd = !edge_warp_odd; + XFlush(obt_display); return TRUE; /* do repeat ! */ }