forked from enlightenment/efl
elm/wayland: Engine fullscreen must be set first.
Before removing the framespace and frame object, set the window to fullscreen, so its geometry will be saved taking into account the frame size. This is required because Ecore_Evas does not control the frame object and frame size, it's all controlled by the application (Elementary, in this case).
This commit is contained in:
parent
a603b93252
commit
4cb1b57483
|
@ -3541,6 +3541,8 @@ _fullscreen_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
|
|||
{
|
||||
// sd->fullscreen = fullscreen;
|
||||
|
||||
TRAP(sd, fullscreen_set, fullscreen);
|
||||
|
||||
if (fullscreen)
|
||||
{
|
||||
if (EE_ENGINE_COMPARE(sd->ee, ELM_WAYLAND_SHM) ||
|
||||
|
@ -3555,8 +3557,6 @@ _fullscreen_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
|
|||
|
||||
evas_object_show(sd->frame_obj);
|
||||
}
|
||||
|
||||
TRAP(sd, fullscreen_set, fullscreen);
|
||||
#ifdef HAVE_ELEMENTARY_X
|
||||
_elm_win_xwin_update(sd);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue