fix comp bug when comp module just unloaded - leaving hidden windows
exposed. SVN revision: 74054
This commit is contained in:
parent
d382ee03b8
commit
7a6db83990
|
@ -3366,6 +3366,14 @@ static void
|
|||
_e_mod_comp_del(E_Comp *c)
|
||||
{
|
||||
E_Comp_Win *cw;
|
||||
Eina_List *l, *hide_bd = NULL;
|
||||
E_Border *bd;
|
||||
|
||||
EINA_LIST_FOREACH(e_border_client_list(), l, bd)
|
||||
{
|
||||
if (!bd->visible)
|
||||
hide_bd = eina_list_append(hide_bd, bd);
|
||||
}
|
||||
|
||||
if (c->fps_fg)
|
||||
{
|
||||
|
@ -3421,6 +3429,12 @@ _e_mod_comp_del(E_Comp *c)
|
|||
ecore_x_e_comp_sync_supported_set(c->man->root, 0);
|
||||
ecore_x_screen_is_composited_set(c->man->num, 0);
|
||||
|
||||
EINA_LIST_FREE(hide_bd, bd)
|
||||
{
|
||||
e_border_show(bd);
|
||||
e_border_hide(bd, 1);
|
||||
}
|
||||
|
||||
free(c);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue