ev->w = 0;
ev->h = 0;
size_type = 1;
+ if ((win->def_config.fullscreen || win->def_config.maximized) &&
+ ((win->def_config.fullscreen != win->set_config.fullscreen) ||
+ (win->def_config.maximized != win->set_config.maximized)))
+ {
+ // this means that user unset fullscreen or maximized.
+ // alpha window needs configure event to render normally.
+ ev->w = win->saved.w;
+ ev->h = win->saved.h;
+ size_type = 7;
+ }
}
else
{
}
}
+ /* TIZEN_ONLY(20190522): The window properties of ecore_evas are updated in
+ * _ecore_evas_wl_common_cb_window_configure.
+ * To call _ecore_evas_wl_common_cb_window_configure,
+ * ECORE_WL2_EVENT_WINDOW_CONFIGURE event is added.
+ * To add ECORE_WL2_EVENT_WINDOW_CONFIGURE event,
+ * _ecore_wl2_window_configure_send is called. */
+ _ecore_wl2_window_configure_send(window);
+ /* END of TIZEN_ONLY(20190522) */
ecore_wl2_display_flush(window->display);
}
void _ecore_evas_framespace_get(Ecore_Evas *ee, int *fw, int *fh)
{
- int ww, wh, sw, sh, framew, frameh, cw, ch;
+ int ww, wh, framew, frameh, cw, ch;
ecore_evas_geometry_get(ee, NULL, NULL, &ww, &wh);
- sw = ee->shadow.l + ee->shadow.r;
- sh = ee->shadow.t + ee->shadow.b;
evas_output_framespace_get(ee->evas, NULL, NULL, &framew, &frameh);
- cw = ww - (framew - sw);
- ch = wh - (frameh - sh);
+ cw = ww - framew;
+ ch = wh - frameh;
if (fw) *fw = ww - cw;
if (fh) *fh = wh - ch;