From 624ffe397bb52757f486208b754489cdb77fd923 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 9 Jul 2010 20:58:21 -0700 Subject: Revert "add XFlush to g_timeout callbacks" This reverts commit aa3685d16af4a565eecdc39047ee8d140ef5cd99. Mika's commit using a GSource to handle X Events fixes this problem, so this commit is not needed --- openbox/moveresize.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'openbox/moveresize.c') diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 13f39df2..2f68395a 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -462,8 +462,6 @@ 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 */ @@ -618,7 +616,6 @@ static gboolean edge_warp_delay_func(gpointer data) } edge_warp_odd = !edge_warp_odd; - XFlush(obt_display); return TRUE; /* do repeat ! */ } -- cgit v1.2.3