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:
Rafael Antognolli 2013-05-08 18:45:02 -03:00
parent a603b93252
commit 4cb1b57483
1 changed files with 2 additions and 2 deletions

View File

@ -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