aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-09-08 17:28:17 +0200
committerBoris Faure <billiob@gmail.com>2013-09-08 17:28:17 +0200
commit4a79fe43d55861161f425d7d27cc734904fa9afe (patch)
treeb464a7c11526abddcef3f9fd564b3859f4df8047 /src/bin/options.c
parentchange cursor/selection when changing theme (diff)
downloadterminology-4a79fe43d55861161f425d7d27cc734904fa9afe.tar.gz
fix focus issue when changing options. Closes #https://phab.enlightenment.org/T27
Diffstat (limited to 'src/bin/options.c')
-rw-r--r--src/bin/options.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/options.c b/src/bin/options.c
index f5042a8..1081c62 100644
--- a/src/bin/options.c
+++ b/src/bin/options.c
@@ -235,14 +235,15 @@ options_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
edje_object_signal_callback_del(bg, "optdetails,hide,done",
"terminology",
_cb_opdt_hide_done);
+ elm_object_focus_set(op_frame, EINA_FALSE);
+ elm_object_focus_set(op_opbox, EINA_FALSE);
+ elm_object_focus_set(op_toolbar, EINA_FALSE);
+ if (op_donecb) op_donecb(op_donedata);
evas_object_del(op_over);
op_over = NULL;
edje_object_signal_emit(bg, "options,hide", "terminology");
edje_object_signal_emit(bg, "optdetails,hide", "terminology");
op_out = EINA_FALSE;
- elm_object_focus_set(op_frame, EINA_FALSE);
- if (op_donecb) op_donecb(op_donedata);
-// elm_object_focus_set(term, EINA_TRUE);
if (op_del_timer) ecore_timer_del(op_del_timer);
op_del_timer = ecore_timer_add(10.0, _cb_op_del_delay, NULL);
}