fix comp shadowing for popups and menus

SVN revision: 84079
This commit is contained in:
Mike Blumenkrantz 2013-02-19 08:09:08 +00:00
parent 7b4783ec15
commit ac5be4f255
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;