aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-09-07 13:37:24 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-09-07 14:15:52 -0400
commit976ec828b595cb2eea6e1a12ec934a8ccd0f4018 (patch)
tree91aaba85e1a0d974fb5e58242a5c7bcf7eb7c654
parentwarp pointer to center of internal dialog on show if dialog has focus (diff)
downloadenlightenment-976ec828b595cb2eea6e1a12ec934a8ccd0f4018.tar.gz
apply pointer focus to existing config dialogs from settings window
this should be more consistent with expected behaviors
-rw-r--r--src/modules/conf/e_conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/conf/e_conf.c b/src/modules/conf/e_conf.c
index fa029a037..107e30b89 100644
--- a/src/modules/conf/e_conf.c
+++ b/src/modules/conf/e_conf.c
@@ -81,8 +81,9 @@ e_configure_show(const char *params)
e_client_desk_set(ec, e_desk_current_get(ec->zone));
e_client_unshade(ec, ec->shade_dir);
if ((e_config->focus_setting == E_FOCUS_NEW_DIALOG) ||
- (e_config->focus_setting == E_FOCUS_NEW_WINDOW))
- evas_object_focus_set(ec->frame, 1);
+ (e_config->focus_setting == E_FOCUS_NEW_WINDOW) ||
+ (e_config->focus_setting == E_FOCUS_NEW_DIALOG_IF_OWNER_FOCUSED))
+ e_client_focus_set_with_pointer(ec);
EINA_LIST_FOREACH(e_widget_toolbar_items_get(eco->cat_list), l, it)
{
if (e_widget_toolbar_item_label_get(it) == params)