discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=99b60390f49837f91fc9dcd532cdec4b2aaf3920

commit 99b60390f49837f91fc9dcd532cdec4b2aaf3920
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Aug 4 16:11:00 2017 -0400

    ecore-wl2: sync aux hints after window creation
    
    ensure hints are available when needed
    
    @fix
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index eeedca10ec..ba7f4e75d6 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -555,7 +555,11 @@ _ecore_wl2_window_surface_create(Ecore_Wl2_Window *window)
         window->surface_id =
           wl_proxy_get_id((struct wl_proxy *)window->surface);
         if (window->display->wl.efl_aux_hints)
-          
efl_aux_hints_get_supported_aux_hints(window->display->wl.efl_aux_hints, 
window->surface);
+          {
+             
efl_aux_hints_get_supported_aux_hints(window->display->wl.efl_aux_hints, 
window->surface);
+             if (_ecore_wl2_display_sync_get())
+               wl_display_roundtrip(window->display->wl.display);
+          }
      }
 }
 
@@ -618,11 +622,11 @@ ecore_wl2_window_new(Ecore_Wl2_Display *display, 
Ecore_Wl2_Window *parent, int x
    win->opaque.h = h;
 
    win->pending.configure = EINA_TRUE;
-   _ecore_wl2_window_surface_create(win);
-
    display->windows =
      eina_inlist_append(display->windows, EINA_INLIST_GET(win));
 
+   _ecore_wl2_window_surface_create(win);
+
    return win;
 }
 

-- 


Reply via email to