From 34399c80db12f4016e9c0e057c890c124ea29c94 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Sat, 18 May 2013 14:52:17 +0100 Subject: [PATCH] allow popups named "noshadow*" to skip comp shadowing --- src/bin/e_comp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 6dc575c..898a47b 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -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) -- 2.7.4