From b0d6d61b24874f40fda0553e56efa1f9c1b40437 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 17 Aug 2015 10:50:05 +0900 Subject: [PATCH] use blank focus style for input catcher button widget --- src/bin/win.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/win.c b/src/bin/win.c index 4e768e2..4b95e9f 100644 --- a/src/bin/win.c +++ b/src/bin/win.c @@ -410,6 +410,7 @@ win_add(void) dnd_init(win, o); o = elm_button_add(win); + elm_object_focus_move_policy_set(o, ELM_FOCUS_MOVE_POLICY_CLICK); evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_win_resize_object_add(win, o); evas_object_color_set(o, 0, 0, 0, 0); @@ -424,6 +425,7 @@ win_add(void) // a dummy button to collect key events and have focus o = elm_button_add(win); + elm_object_focus_highlight_style_set(o, "blank"); evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); elm_win_resize_object_add(win, o); evas_object_lower(o);