summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_display.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index 4ee8cd6d59..a216df108a 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -359,7 +359,6 @@ _cb_global_add(void *data, struct wl_registry *registry, unsigned int id, const
359 window->xdg_surface, window->weight.w, window->weight.h); 359 window->xdg_surface, window->weight.w, window->weight.h);
360 } 360 }
361 } 361 }
362 ecore_wl2_display_flush(ewd);
363 362
364event: 363event:
365 /* allocate space for event structure */ 364 /* allocate space for event structure */
@@ -663,7 +662,6 @@ _ecore_wl2_shell_bind(Ecore_Wl2_Display *ewd)
663 &_zxdg_shell_listener, ewd); 662 &_zxdg_shell_listener, ewd);
664 ewd->shell_done = EINA_TRUE; 663 ewd->shell_done = EINA_TRUE;
665 } 664 }
666 ecore_wl2_display_flush(ewd);
667} 665}
668 666
669static void 667static void
@@ -681,6 +679,7 @@ _cb_sync_done(void *data, struct wl_callback *cb, uint32_t serial EINA_UNUSED)
681 _ecore_wl2_shell_bind(ewd); 679 _ecore_wl2_shell_bind(ewd);
682 680
683 wl_callback_destroy(cb); 681 wl_callback_destroy(cb);
682 ecore_wl2_display_flush(ewd);
684 683
685 ev = calloc(1, sizeof(Ecore_Wl2_Event_Sync_Done)); 684 ev = calloc(1, sizeof(Ecore_Wl2_Event_Sync_Done));
686 if (!ev) return; 685 if (!ev) return;