set client visibility for shell-less wayland clients appropriately during commit
This commit is contained in:
parent
179118a70c
commit
412595dc60
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue