Handle policy activate layer a bit better (don't set so high).
authorChristopher Michael <cpmichael1@comcast.net>
Thu, 25 Feb 2010 05:45:14 +0000 (05:45 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 25 Feb 2010 05:45:14 +0000 (05:45 +0000)
Add an easily adjusted variable in policy.h for POL_ACTIVATE_LAYER.

SVN revision: 46454

src/modules/illume2/policies/illume/policy.c
src/modules/illume2/policies/illume/policy.h

index bd63c61..66b6389 100644 (file)
@@ -1068,7 +1068,7 @@ _policy_border_activate(E_Border *bd)
 
    /* set very high layer for this window as it needs attention and thus 
     * should show above everything */
-   e_border_layer_set(bd, 250);
+   e_border_layer_set(bd, POL_ACTIVATE_LAYER);
 
    /* if we can raise the border do it */
    if (!bd->lock_user_stacking) e_border_raise(bd);
index fbf2282..30dbbe4 100644 (file)
@@ -5,6 +5,7 @@
 # define POL_INDICATOR_LAYER 200
 # define POL_QUICKPANEL_LAYER 160
 # define POL_KEYBOARD_LAYER 150
+# define POL_ACTIVATE_LAYER 145
 # define POL_FULLSCREEN_LAYER 140
 # define POL_DIALOG_LAYER 120
 # define POL_SPLASH_LAYER 120