discomfitor pushed a commit to branch master.

commit 34399c80db12f4016e9c0e057c890c124ea29c94
Author: discomfitor <[email protected]>
Date:   Sat May 18 14:52:17 2013 +0100

    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)

-- 

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d

Reply via email to