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/frame.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openbox/frame.c') diff --git a/openbox/frame.c b/openbox/frame.c index bd9527b0..8a9a5a64 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -1672,7 +1672,6 @@ static gboolean flash_timeout(gpointer data) self->focused = FALSE; } - XFlush(obt_display); return TRUE; /* go again */ } @@ -1770,11 +1769,11 @@ static gboolean frame_animate_iconify(gpointer p) } XMoveResizeWindow(obt_display, self->window, x, y, w, h); + XFlush(obt_display); if (time == 0) frame_end_iconify_animation(self); - XFlush(obt_display); return time > 0; /* repeat until we're out of time */ } -- cgit v1.2.3