ecore-evas-wayland: Use proper Ecore_Wl2 window functions
authorChris Michael <cpmichael@osg.samsung.com>
Thu, 3 Dec 2015 19:55:42 +0000 (14:55 -0500)
committerChris Michael <cpmichael@osg.samsung.com>
Thu, 3 Dec 2015 19:55:42 +0000 (14:55 -0500)
To get the proper maximized and fullscreen states, we should be using
the ecore_wl2_window functions, not the ecore_wl_window functions

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 1659988..a7500f2 100644 (file)
@@ -183,8 +183,8 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
 
    prev_max = ee->prop.maximized;
    prev_full = ee->prop.fullscreen;
-   ee->prop.maximized = ecore_wl_window_maximized_get(wdata->win);
-   ee->prop.fullscreen = ecore_wl_window_fullscreen_get(wdata->win);
+   ee->prop.maximized = ecore_wl2_window_maximized_get(wdata->win);
+   ee->prop.fullscreen = ecore_wl2_window_fullscreen_get(wdata->win);
 
    nw = ev->w;
    nh = ev->h;