set client visibility for shell-less wayland clients appropriately during commit

This commit is contained in:
Mike Blumenkrantz 2015-06-25 19:22:49 -04:00
parent 179118a70c
commit 412595dc60
1 changed files with 4 additions and 0 deletions

View File

@ -1121,6 +1121,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
ec->comp_data->shell.unmap(ec->comp_data->shell.surface);
else
{
ec->visible = EINA_FALSE;
evas_object_hide(ec->frame);
ec->comp_data->mapped = evas_object_visible_get(ec->frame);
}
@ -1134,6 +1135,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
ec->comp_data->shell.map(ec->comp_data->shell.surface);
else
{
ec->visible = EINA_TRUE;
evas_object_show(ec->frame);
ec->comp_data->mapped = evas_object_visible_get(ec->frame);
}
@ -2710,6 +2712,7 @@ e_comp_wl_surface_commit(E_Client *ec)
ec->comp_data->shell.unmap(ec->comp_data->shell.surface);
else
{
ec->visible = EINA_FALSE;
evas_object_hide(ec->frame);
ec->comp_data->mapped = evas_object_visible_get(ec->frame);
}
@ -2723,6 +2726,7 @@ e_comp_wl_surface_commit(E_Client *ec)
ec->comp_data->shell.map(ec->comp_data->shell.surface);
else
{
ec->visible = EINA_TRUE;
evas_object_show(ec->frame);
ec->comp_data->mapped = evas_object_visible_get(ec->frame);
}