_elm_win_resize_job(void *data)
{
ELM_WIN_DATA_GET(data, sd);
- int w, h;
+ int x, y, w, h;
sd->deferred_resize_job = NULL;
- ecore_evas_request_geometry_get(sd->ee, NULL, NULL, &w, &h);
+ ecore_evas_request_geometry_get(sd->ee, &x, &y, &w, &h);
if (sd->constrain)
{
int sw, sh;
evas_object_resize(sd->obj, w, h);
evas_object_resize(sd->edje, w, h);
+
+#ifdef HAVE_ELEMENTARY_WAYLAND
+ ecore_wl_window_opaque_region_set(sd->wl.win, x, y, w, h);
+#endif
}
static void
ecore_evas_show(sd->pointer.ee);
evas_object_show(sd->pointer.obj);
}
+#ifdef HAVE_ELEMENTARY_WAYLAND
+ int x, y, w, h;
+
+ evas_object_geometry_get(obj, &x, &y, &w, &h);
+ ecore_wl_window_opaque_region_set(sd->wl.win, x, y, w, h);
+#endif
evas_object_show(obj);
#ifdef ELEMENTARY_X
if (sd->type == ELM_WIN_TOOLTIP)