if (nw < 1) nw = 1;
if (nh < 1) nh = 1;
- /* NB: We receive window configure sizes based on xdg surface
- * window geometry, so we need to subtract framespace here */
-
- evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
-
- if (ECORE_EVAS_PORTRAIT(ee))
- {
- nw -= fw;
- nh -= fh;
- }
- else
- {
- nw -= fh;
- nh -= fw;
- }
-
if (prev_full != ee->prop.fullscreen)
_ecore_evas_wl_common_border_update(ee);
(prev_full != ee->prop.fullscreen))
_ecore_evas_wl_common_state_update(ee);
+ /* NB: We receive window configure sizes based on xdg surface
+ * window geometry, so we need to subtract framespace here */
evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
+
if (ECORE_EVAS_PORTRAIT(ee))
{
nw -= fw;