forked from enlightenment/enlightenment
set ec->fullscreen before applying fullscreen geometry
This commit is contained in:
parent
de17793fe3
commit
a38a34d599
|
@ -3824,6 +3824,7 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
|
||||||
else if (e_config->mode.presentation)
|
else if (e_config->mode.presentation)
|
||||||
evas_object_layer_set(ec->frame, E_LAYER_CLIENT_TOP);
|
evas_object_layer_set(ec->frame, E_LAYER_CLIENT_TOP);
|
||||||
|
|
||||||
|
ec->fullscreen = 1;
|
||||||
#ifndef HAVE_WAYLAND_ONLY
|
#ifndef HAVE_WAYLAND_ONLY
|
||||||
if ((eina_list_count(ec->comp->zones) > 1) ||
|
if ((eina_list_count(ec->comp->zones) > 1) ||
|
||||||
(policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_query()))
|
(policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_query()))
|
||||||
|
@ -3839,7 +3840,6 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
|
||||||
/* compositor backends! */
|
/* compositor backends! */
|
||||||
evas_object_smart_callback_call(ec->frame, "fullscreen_zoom", NULL);
|
evas_object_smart_callback_call(ec->frame, "fullscreen_zoom", NULL);
|
||||||
}
|
}
|
||||||
ec->fullscreen = 1;
|
|
||||||
|
|
||||||
e_hints_window_fullscreen_set(ec, 1);
|
e_hints_window_fullscreen_set(ec, 1);
|
||||||
e_hints_window_size_unset(ec);
|
e_hints_window_size_unset(ec);
|
||||||
|
|
Loading…
Reference in New Issue