termio: force refocus after ctx popup is deleted. Closes T6782

This commit is contained in:
Boris Faure 2018-03-19 22:12:08 +01:00
parent 189d138d03
commit 33eb5261e6
1 changed files with 4 additions and 0 deletions

View File

@ -926,6 +926,10 @@ _cb_ctxp_del(void *data,
Termio *sd = data;
EINA_SAFETY_ON_NULL_RETURN(sd);
sd->ctxpopup = NULL;
/* Force refocus */
term_unfocus(sd->term);
term_focus(sd->term);
}
static void