forked from enlightenment/enlightenment
Reenable pointer warp - the fixme config option to disable it is already there:
config panel->windows->window focus->advanced->"slide pointer to a new focused window" SVN revision: 35175
This commit is contained in:
parent
50ecadbb80
commit
010994d27d
|
@ -1379,8 +1379,7 @@ e_border_focus_set_with_pointer(E_Border *bd)
|
|||
{
|
||||
if (e_border_under_pointer_get(bd->desk, bd))
|
||||
{
|
||||
// FIXME: make this config. this is just annoying to warp all the time here!
|
||||
// if (!e_border_pointer_warp_to_center(bd))
|
||||
if (!e_border_pointer_warp_to_center(bd))
|
||||
e_border_focus_set(bd, 1, 1);
|
||||
}
|
||||
else
|
||||
|
@ -1389,8 +1388,7 @@ e_border_focus_set_with_pointer(E_Border *bd)
|
|||
else if (e_config->focus_policy == E_FOCUS_CLICK)
|
||||
e_border_focus_set(bd, 1, 1);
|
||||
else
|
||||
// FIXME: make this config. this is just annoying to warp all the time here!
|
||||
// if (!e_border_pointer_warp_to_center(bd))
|
||||
if (!e_border_pointer_warp_to_center(bd))
|
||||
e_border_focus_set(bd, 1, 1);
|
||||
|
||||
ecore_x_pointer_ungrab();
|
||||
|
|
Loading…
Reference in New Issue