summaryrefslogtreecommitdiff
path: root/hw/kdrive
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-08-23 11:19:17 -0700
committerEric Anholt <eric@anholt.net>2013-09-03 14:35:39 -0700
commit5cc15e1c427bacd73db7381df3474a23f7616624 (patch)
tree39f15a0774cd6fc166ff2acbaa8ac8d32a1818c6 /hw/kdrive
parentba387cf21f7d95987211f75d8024601e7d64e322 (diff)
ephyr: Flush the X connection when updating the window title.
Otherwise when you're doing the ctrl-shift mouse grab thing, you don't know what state you're in until the next rendering occurs. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'hw/kdrive')
-rw-r--r--hw/kdrive/ephyr/hostx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c
index a8a244878..d98557147 100644
--- a/hw/kdrive/ephyr/hostx.c
+++ b/hw/kdrive/ephyr/hostx.c
@@ -174,6 +174,7 @@ hostx_set_win_title(KdScreenInfo *screen, const char *extra_text)
8,
strlen(buf),
buf);
+ xcb_flush(HostX.conn);
}
}