the "Slide pointer to newly-focused window" option now also slides pointer when closing a window changes focus

ticket #1551


SVN revision: 77245
This commit is contained in:
Mike Blumenkrantz 2012-10-01 07:38:46 +00:00
parent 01db2abf19
commit f810de58ff
1 changed files with 5 additions and 1 deletions

View File

@ -1032,7 +1032,11 @@ e_border_hide(E_Border *bd,
e_border_focus_set(pbd, 1, 1);
}
else
e_desk_last_focused_focus(desk);
{
e_desk_last_focused_focus(desk);
if (eina_list_data_get(focus_next))
e_border_pointer_warp_to_center(eina_list_data_get(focus_next));
}
}
}
}