fix nested wayland in x11 mode with getting canvas zone geometry

yup. was broken. fixes T5993

@fix
This commit is contained in:
Carsten Haitzler 2017-09-09 11:56:16 +09:00
parent 1d610fd609
commit 6502f030c9
1 changed files with 2 additions and 0 deletions

View File

@ -790,6 +790,8 @@ e_gadcon_canvas_zone_geometry_get(E_Gadcon *gc, int *x, int *y, int *w, int *h)
E_OBJECT_TYPE_CHECK_RETURN(gc, E_GADCON_TYPE, 0);
if (!gc->ecore_evas) return 0;
ecore_evas_geometry_get(gc->ecore_evas, x, y, w, h);
*x = 0;
*y = 0;
// so much relies on this down here to have been broken... ie return comp-relative coords.
// if (gc->zone)
// {