IFE;
}
+Eina_Bool _check_framespace_enabled(Ecore_Evas *ee)
+{
+ int fh = 0;
+ evas_output_framespace_get(ee->evas, NULL, NULL, NULL, &fh);
+ if (fh == 0) return EINA_FALSE;
+ return EINA_TRUE;
+}
+
EAPI void
ecore_evas_resize(Ecore_Evas *ee, int w, int h)
{
ECORE_EVAS_CHECK(ee);
if (ee->prop.fullscreen) return;
if (w < 1) w = 1;
- if (h < 1) h = 1;
+ if (!_check_framespace_enabled(ee) && h < 1) h = 1;
if (ECORE_EVAS_PORTRAIT(ee))
{
IFC(ee, fn_resize) (ee, w, h);
ECORE_EVAS_CHECK(ee);
if (ee->prop.fullscreen) return;
if (w < 1) w = 1;
- if (h < 1) h = 1;
+ if (!_check_framespace_enabled(ee) && h < 1) h = 1;
if (ECORE_EVAS_PORTRAIT(ee))
{
IFC(ee, fn_move_resize) (ee, x, y, w, h);