allow popups named "noshadow*" to skip comp shadowing

This commit is contained in:
discomfitor 2013-05-18 14:52:17 +01:00
parent d72411c6ea
commit 34399c80db
1 changed files with 3 additions and 1 deletions

View File

@ -1655,7 +1655,9 @@ _e_comp_win_shadow_setup(E_Comp_Win *cw)
// etc. etc.
list = conf->match.popups;
name = cw->pop->name;
skip = (conf->match.disable_popups);
skip = conf->match.disable_popups;
if (cw->pop->name && (!skip))
skip = (!strncmp(cw->pop->name, "noshadow", 8));
fast = conf->fast_popups;
}
else if (cw->menu)