Handle policy activate layer a bit better (don't set so high).

Add an easily adjusted variable in policy.h for POL_ACTIVATE_LAYER.



SVN revision: 46454
This commit is contained in:
Christopher Michael 2010-02-25 05:45:14 +00:00
parent 395e679706
commit 07062860cb
2 changed files with 2 additions and 1 deletions

View 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);

View 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