Sometimes _ecore_wl_window_cb_angle_change is called before
_zxdg_toplevel_cb_configure is called.
In this case def_config geometry is not yet updated,
therefore we use set_config geometry.
@tizen_only
Change-Id: I13eb16db6ef476ac45a886bfb3ce1c788369e8e3
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
ev->w = win->def_config.geometry.w;
ev->h = win->def_config.geometry.h;
+ //TIZEN_ONLY(20190128): Use set_config geometry
+ if (ev->w == 0 && ev->h == 0)
+ {
+ ev->w = win->set_config.geometry.w;
+ ev->h = win->set_config.geometry.h;
+ }
+ //
+
switch (angle)
{
case TIZEN_ROTATION_ANGLE_0: