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:
parent
395e679706
commit
07062860cb
|
@ -1068,7 +1068,7 @@ _policy_border_activate(E_Border *bd)
|
||||||
|
|
||||||
/* set very high layer for this window as it needs attention and thus
|
/* set very high layer for this window as it needs attention and thus
|
||||||
* should show above everything */
|
* 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 we can raise the border do it */
|
||||||
if (!bd->lock_user_stacking) e_border_raise(bd);
|
if (!bd->lock_user_stacking) e_border_raise(bd);
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
# define POL_INDICATOR_LAYER 200
|
# define POL_INDICATOR_LAYER 200
|
||||||
# define POL_QUICKPANEL_LAYER 160
|
# define POL_QUICKPANEL_LAYER 160
|
||||||
# define POL_KEYBOARD_LAYER 150
|
# define POL_KEYBOARD_LAYER 150
|
||||||
|
# define POL_ACTIVATE_LAYER 145
|
||||||
# define POL_FULLSCREEN_LAYER 140
|
# define POL_FULLSCREEN_LAYER 140
|
||||||
# define POL_DIALOG_LAYER 120
|
# define POL_DIALOG_LAYER 120
|
||||||
# define POL_SPLASH_LAYER 120
|
# define POL_SPLASH_LAYER 120
|
||||||
|
|
Loading…
Reference in New Issue