summaryrefslogtreecommitdiff
path: root/openbox/moveresize.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-07-09 20:58:21 -0700
committerMikael Magnusson <mikachu@gmail.com>2010-09-16 17:24:12 +0200
commit624ffe397bb52757f486208b754489cdb77fd923 (patch)
tree4964c52bcc82095f59b24d2d05e58de035670a20 /openbox/moveresize.c
parent179312f9ae8ad3fdae977ac0d4004aa6ef33f5eb (diff)
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
Diffstat (limited to 'openbox/moveresize.c')
-rw-r--r--openbox/moveresize.c3
1 files changed, 0 insertions, 3 deletions
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 ! */
}