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>
This commit is contained in:
Eric Anholt 2013-08-23 11:19:17 -07:00
parent ba387cf21f
commit 5cc15e1c42

View File

@ -174,6 +174,7 @@ hostx_set_win_title(KdScreenInfo *screen, const char *extra_text)
8,
strlen(buf),
buf);
xcb_flush(HostX.conn);
}
}