summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:11:00 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-04 16:10:35 -0400
commit99b60390f49837f91fc9dcd532cdec4b2aaf3920 (patch)
tree6429b7f6c8f4dbbd23aef8f881933695c1696194 /src/lib/ecore_wl2
parentf2627d49c115e8874dfe0b32581a80b171799bbc (diff)
ecore-wl2: sync aux hints after window creation
ensure hints are available when needed @fix
Diffstat (limited to 'src/lib/ecore_wl2')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c10
1 files 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)
555 window->surface_id = 555 window->surface_id =
556 wl_proxy_get_id((struct wl_proxy *)window->surface); 556 wl_proxy_get_id((struct wl_proxy *)window->surface);
557 if (window->display->wl.efl_aux_hints) 557 if (window->display->wl.efl_aux_hints)
558 efl_aux_hints_get_supported_aux_hints(window->display->wl.efl_aux_hints, window->surface); 558 {
559 efl_aux_hints_get_supported_aux_hints(window->display->wl.efl_aux_hints, window->surface);
560 if (_ecore_wl2_display_sync_get())
561 wl_display_roundtrip(window->display->wl.display);
562 }
559 } 563 }
560} 564}
561 565
@@ -618,11 +622,11 @@ ecore_wl2_window_new(Ecore_Wl2_Display *display, Ecore_Wl2_Window *parent, int x
618 win->opaque.h = h; 622 win->opaque.h = h;
619 623
620 win->pending.configure = EINA_TRUE; 624 win->pending.configure = EINA_TRUE;
621 _ecore_wl2_window_surface_create(win);
622
623 display->windows = 625 display->windows =
624 eina_inlist_append(display->windows, EINA_INLIST_GET(win)); 626 eina_inlist_append(display->windows, EINA_INLIST_GET(win));
625 627
628 _ecore_wl2_window_surface_create(win);
629
626 return win; 630 return win;
627} 631}
628 632