fix rogue focus overlay that auto-mode adds where terminology does it

terminology handles showing rfocus display inside the elm layout so
even if the layout is focusable, it shouldnt SHOW it, but we want to
show it when the controls popup is open so toggle it then
terminology-1.9
Carsten Haitzler 2 years ago
parent f8ec17801a
commit 503c69e0f7
  1. 5
      src/bin/win.c

@ -2276,7 +2276,8 @@ win_new(const char *name, const char *role, const char *title,
_cb_win_mouse_move,
wn);
evas_object_show(o);
elm_object_focus_set(wn->base, EINA_TRUE);
elm_object_focus_highlight_style_set(o, "blank");
elm_object_focus_set(o, EINA_TRUE);
if (ecore_imf_init())
{
@ -7345,6 +7346,7 @@ _cb_options_done(void *data)
Term *orig_term = data;
Win *wn = orig_term->wn;
elm_object_focus_highlight_style_set(wn->base, "blank");
_on_popover_done(wn);
term_unref(orig_term);
@ -7364,6 +7366,7 @@ _cb_options(void *data,
tc->unfocus(tc, NULL);
elm_object_focus_highlight_style_set(term->wn->base, "default");
controls_show(term->wn->win, term->wn->base, term->bg_edj, term->termio,
_cb_options_done, term);
}

Loading…
Cancel
Save