summaryrefslogtreecommitdiff
path: root/src/bin/controls.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-06-14 11:19:30 +0200
committerBoris Faure <billiob@gmail.com>2019-06-14 11:19:30 +0200
commit8354e8372618e4efde0f6854c541f5afdfeb59f1 (patch)
tree982c95b4ee11f3cfdfa31be54e1e6ae6d553b8c4 /src/bin/controls.c
parent113bf27619a57fa7ec8ade65fb5abc082152aec8 (diff)
Revert "win: let elm handle focus"
This reverts commit 113bf27619a57fa7ec8ade65fb5abc082152aec8. Not yet fully working. Previous behaviour was better.
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 279fea3..5aa2e62 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -277,7 +277,6 @@ _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);
281 if (ctx->win) 280 if (ctx->win)
282 { 281 {
283 evas_object_event_callback_del(ctx->win, EVAS_CALLBACK_DEL, _cb_saved_del); 282 evas_object_event_callback_del(ctx->win, EVAS_CALLBACK_DEL, _cb_saved_del);
@@ -294,6 +293,7 @@ controls_hide(Controls_Ctx *ctx, Eina_Bool call_cb)
294 { 293 {
295 evas_object_del(ctx->over); 294 evas_object_del(ctx->over);
296 } 295 }
296 elm_object_focus_set(ctx->frame, EINA_FALSE);
297 297
298 if (call_cb) 298 if (call_cb)
299 { 299 {