don't set comp dumps/flushes for deleted comp wins

This commit is contained in:
Mike Blumenkrantz 2013-07-26 11:06:12 +01:00
parent d544048b0e
commit 5f6e3017e9
1 changed files with 11 additions and 8 deletions

View File

@ -2627,15 +2627,18 @@ _e_comp_win_hide(E_Comp_Win *cw)
}
if (conf->keep_unmapped && cw->win)
{
if (conf->send_flush)
if (!cw->delete_me)
{
if (cw->bd) ecore_x_e_comp_flush_send(cw->bd->client.win);
else ecore_x_e_comp_flush_send(cw->win);
}
if (conf->send_dump)
{
if (cw->bd) ecore_x_e_comp_dump_send(cw->bd->client.win);
else ecore_x_e_comp_dump_send(cw->win);
if (conf->send_flush)
{
if (cw->bd) ecore_x_e_comp_flush_send(cw->bd->client.win);
else ecore_x_e_comp_flush_send(cw->win);
}
if (conf->send_dump)
{
if (cw->bd) ecore_x_e_comp_dump_send(cw->bd->client.win);
else ecore_x_e_comp_dump_send(cw->win);
}
}
return;
}