[PATCH 2/4] ephyr: Flush the X connection when updating the window title.

Eric Anholt eric at anholt.net
Mon Aug 26 13:33:35 PDT 2013


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 at anholt.net>
---
 hw/kdrive/ephyr/hostx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c
index a8a2448..d985571 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);
     }
 }
 
-- 
1.8.4.rc3



More information about the xorg-devel mailing list