forked from enlightenment/enlightenment
first we check focus model WITHOUT also applying automatically applied raise option, then we check focus option, THEN we check raise option
This commit is contained in:
parent
6074a0b25f
commit
68f9e980e7
|
@ -67,24 +67,14 @@ EAPI void
|
|||
e_focus_event_mouse_down(E_Border *bd)
|
||||
{
|
||||
if (e_config->focus_policy == E_FOCUS_CLICK)
|
||||
{
|
||||
e_border_focus_set(bd, 1, 1);
|
||||
|
||||
if (!bd->lock_user_stacking)
|
||||
{
|
||||
if (e_config->border_raise_on_focus)
|
||||
e_border_raise(bd);
|
||||
}
|
||||
}
|
||||
e_border_focus_set(bd, 1, 1);
|
||||
else if (e_config->always_click_to_focus)
|
||||
e_border_focus_set(bd, 1, 1);
|
||||
else if (e_config->always_click_to_raise)
|
||||
{
|
||||
if (!bd->lock_user_stacking)
|
||||
e_border_raise(bd);
|
||||
}
|
||||
else if (e_config->always_click_to_focus)
|
||||
{
|
||||
e_border_focus_set(bd, 1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue