Give more priority to app's resize request than server's request.
@tizen_only
Change-Id: Ib1dbe26ada8a654364b356e7f3bf3d49f9774fa5
EAPI void ecore_wl2_cursor_config_name_set(const char *name);
//
+//TIZEN_ONLY(20221228): add resize request set for ignoring configure event
+EAPI void ecore_wl2_window_resize_request_set(Ecore_Wl2_Window *window);
+//
# undef EAPI
# define EAPI
return window->resource_id;
}
//
+
+//TIZEN_ONLY(20221228): add resize request set for ignoring configure event
+EAPI void
+ecore_wl2_window_resize_request_set(Ecore_Wl2_Window *window)
+{
+ EINA_SAFETY_ON_NULL_RETURN(window);
+ window->pending.user_resize = EINA_TRUE;
+}
+//
sd->req_wh = EINA_TRUE;
sd->req_w = sz.w;
sd->req_h = sz.h;
+ //TIZEN_ONLY(20221228): add resize request set for ignoring configure event
+ ERR("Call resize request set w: %d h: %d", sz.w, sz.h);
+ ecore_wl2_window_resize_request_set(sd->wl.win);
+ //
TRAP(sd, resize, sz.w, sz.h);
}