summaryrefslogtreecommitdiffstats
path: root/waltham-transmitter/transmitter-plugin/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'waltham-transmitter/transmitter-plugin/plugin.c')
-rw-r--r--waltham-transmitter/transmitter-plugin/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/waltham-transmitter/transmitter-plugin/plugin.c b/waltham-transmitter/transmitter-plugin/plugin.c
index 65ebdf6..d372c65 100644
--- a/waltham-transmitter/transmitter-plugin/plugin.c
+++ b/waltham-transmitter/transmitter-plugin/plugin.c
@@ -260,6 +260,7 @@ transmitter_surface_set_ivi_id(struct weston_transmitter_surface *txs)
txs->wthp_ivi_surface = wthp_ivi_application_surface_create
(dpy->application, ivi_surf->id_surface, txs->wthp_surf);
+ wth_connection_flush(remote->display->connection);
weston_log("surface ID %d\n", ivi_surf->id_surface);
if(!txs->wthp_ivi_surface){
weston_log("Failed to create txs->ivi_surf\n");
@@ -325,6 +326,7 @@ transmitter_surface_push_to_remote(struct weston_surface *ws,
if (!txs->wthp_surf) {
weston_log("txs->wthp_surf is NULL\n");
txs->wthp_surf = wthp_compositor_create_surface(remote->display->compositor);
+ wth_connection_flush(remote->display->connection);
transmitter_surface_set_ivi_id(txs);
}