fix comp shadowing for popups and menus

SVN revision: 84084
This commit is contained in:
Mike Blumenkrantz 2013-02-19 08:25:05 +00:00
parent 8b28b2f2f1
commit 622d13ee8f
1 changed files with 4 additions and 0 deletions

View File

@ -1432,6 +1432,10 @@ static Eina_Bool
_e_comp_win_do_shadow(E_Comp_Win *cw)
{
if (cw->shaped) return 0;
if (cw->real_obj)
{
return ((!!cw->pop) || (!!cw->menu));
}
if (cw->argb)
{
if (_e_comp_win_is_borderless(cw)) return 0;