discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=3fc4c39bb4a105a8e5cf1d56ba8d3b8641fe0bb5
commit 3fc4c39bb4a105a8e5cf1d56ba8d3b8641fe0bb5 Author: Mike Blumenkrantz <zm...@osg.samsung.com> Date: Thu Sep 7 13:37:24 2017 -0400 warp pointer to center of internal dialog on show if dialog has focus ensure that pointer-based focus policies do not experience unexpected focus changes when a dialog changes from basic<->advanced ref T1931 --- src/bin/e_dialog.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/e_dialog.c b/src/bin/e_dialog.c index 99aaed254..bec1b2fe0 100644 --- a/src/bin/e_dialog.c +++ b/src/bin/e_dialog.c @@ -264,6 +264,11 @@ e_dialog_show(E_Dialog *dia) if (!e_widget_focus_get(dia->box_object)) e_widget_focus_set(dia->box_object, 1); + { + E_Client *ec = e_win_client_get(dia->win); + if (ec->focused && (e_config->pointer_slide || (!e_client_focus_policy_click(ec)))) + e_client_pointer_warp_to_center_now(ec); + } } /* local subsystem functions */ --