forked from enlightenment/efl
ee_wayland: Use object geometry instead of window geometry
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
This commit is contained in:
parent
1139cde9a6
commit
12af5537c5
|
@ -618,7 +618,7 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
|
||||||
nw = ev->w;
|
nw = ev->w;
|
||||||
nh = ev->h;
|
nh = ev->h;
|
||||||
|
|
||||||
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;
|
sw = ee->shadow.l + ee->shadow.r;
|
||||||
sh = ee->shadow.t + ee->shadow.b;
|
sh = ee->shadow.t + ee->shadow.b;
|
||||||
|
|
Loading…
Reference in New Issue