summaryrefslogtreecommitdiff
path: root/src/bin/controls.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-06-17 21:22:17 +0200
committerBoris Faure <billiob@gmail.com>2019-06-17 21:22:17 +0200
commitb464932d2d904e741794cccac61a59e69306437d (patch)
treeb35c49f45864a07d3c4b7d34f18bb58383966619 /src/bin/controls.c
parent8354e8372618e4efde0f6854c541f5afdfeb59f1 (diff)
Revert "Revert "win: let elm handle focus""
This reverts commit 8354e8372618e4efde0f6854c541f5afdfeb59f1.
Diffstat (limited to 'src/bin/controls.c')
-rw-r--r--src/bin/controls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index 5aa2e62..279fea3 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -277,6 +277,7 @@ _sep_add_h(Evas_Object *win)
277static void 277static void
278controls_hide(Controls_Ctx *ctx, Eina_Bool call_cb) 278controls_hide(Controls_Ctx *ctx, Eina_Bool call_cb)
279{ 279{
280 elm_object_focus_set(ctx->frame, EINA_FALSE);
280 if (ctx->win) 281 if (ctx->win)
281 { 282 {
282 evas_object_event_callback_del(ctx->win, EVAS_CALLBACK_DEL, _cb_saved_del); 283 evas_object_event_callback_del(ctx->win, EVAS_CALLBACK_DEL, _cb_saved_del);
@@ -293,7 +294,6 @@ controls_hide(Controls_Ctx *ctx, Eina_Bool call_cb)
293 { 294 {
294 evas_object_del(ctx->over); 295 evas_object_del(ctx->over);
295 } 296 }
296 elm_object_focus_set(ctx->frame, EINA_FALSE);
297 297
298 if (call_cb) 298 if (call_cb)
299 { 299 {