set ec->fullscreen before applying fullscreen geometry

This commit is contained in:
Mike Blumenkrantz 2015-03-04 15:52:16 -05:00
parent de17793fe3
commit a38a34d599
1 changed files with 1 additions and 1 deletions

View File

@ -3824,6 +3824,7 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
else if (e_config->mode.presentation)
evas_object_layer_set(ec->frame, E_LAYER_CLIENT_TOP);
ec->fullscreen = 1;
#ifndef HAVE_WAYLAND_ONLY
if ((eina_list_count(ec->comp->zones) > 1) ||
(policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_query()))
@ -3839,7 +3840,6 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
/* compositor backends! */
evas_object_smart_callback_call(ec->frame, "fullscreen_zoom", NULL);
}
ec->fullscreen = 1;
e_hints_window_fullscreen_set(ec, 1);
e_hints_window_size_unset(ec);