ee_wayland: Use object geometry instead of window geometry
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Wed, 5 Dec 2018 16:34:01 +0000 (10:34 -0600)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:23:55 +0000 (13:23 +0900)
wayland window geometry isn't currently being handled properly, but the
ecore_evas geometry should be correct and coherent.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7435

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index 47e0b79..ab741a1 100755 (executable)
@@ -668,7 +668,7 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
    ny = ev->y;
 //
 
-   ecore_wl2_window_geometry_get(wdata->win, NULL, NULL, &ww, &wh);
+   ecore_evas_geometry_get(ee, NULL, NULL, &ww, &wh);
 
    sw = ee->shadow.l + ee->shadow.r;
    sh = ee->shadow.t + ee->shadow.b;