Revert "ecore-evas-wayland: Fix issue of apps not starting up in fullscreen mode"

This reverts commit dfb1877500.

This did fix the problem of "rage -f" not starting properly, but it
broke toggling between fullscreen and !fullscreen for other apps.

They'd resize to a large, but not quite fullscreen, size, then render with decor
present, and big black bars on the right/bottom edges (which were offscreen due
to the client size and position)

This isn't really the right place to fix this - it's a protocol usage bug, not
a canvas bug.
This commit is contained in:
Derek Foreman 2017-03-08 12:45:07 -06:00
parent ad1e5ead40
commit a1b90cf4d7
2 changed files with 0 additions and 16 deletions

View File

@ -1419,14 +1419,6 @@ _ecore_evas_wl_common_fullscreen_set(Ecore_Evas *ee, Eina_Bool on)
if (ee->prop.fullscreen == on) return;
wdata = ee->engine.data;
ee->prop.fullscreen = on;
if ((!wdata->sync_done) || (!ee->visible))
{
wdata->defer_fullscreen = EINA_TRUE;
return;
}
ecore_wl2_window_fullscreen_set(wdata->win, on);
}
@ -1806,13 +1798,6 @@ _ecore_evas_wl_common_show(Ecore_Evas *ee)
ecore_wl2_window_show(wdata->win);
ecore_wl2_window_alpha_set(wdata->win, ee->alpha);
ecore_wl2_window_transparent_set(wdata->win, ee->transparent);
if (wdata->defer_fullscreen)
{
wdata->defer_fullscreen = EINA_FALSE;
ecore_wl2_window_fullscreen_set(wdata->win, ee->prop.fullscreen);
}
einfo = (Evas_Engine_Info_Wayland *)evas_engine_info_get(ee->evas);
if (einfo)

View File

@ -50,7 +50,6 @@ struct _Ecore_Evas_Engine_Wl_Data
Eina_Bool sync_done : 1;
Eina_Bool defer_show : 1;
Eina_Bool reset_pending : 1;
Eina_Bool defer_fullscreen : 1;
};
Ecore_Evas_Interface_Wayland *_ecore_evas_wl_interface_new(void);