derekf pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a1b90cf4d72961c62cfbb42d6f9b68cdb5490241
commit a1b90cf4d72961c62cfbb42d6f9b68cdb5490241 Author: Derek Foreman <[email protected]> Date: Wed Mar 8 12:45:07 2017 -0600 Revert "ecore-evas-wayland: Fix issue of apps not starting up in fullscreen mode" This reverts commit dfb18775002c5130b60bdc03ed60b7de356e6012. 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. --- .../engines/wayland/ecore_evas_wayland_common.c | 15 --------------- .../engines/wayland/ecore_evas_wayland_private.h | 1 - 2 files changed, 16 deletions(-) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index f7f6151..53e1c89 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -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) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h index 2f98dcf..e2a7840 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_private.h @@ -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); --
