aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-03-19 22:12:08 +0100
committerBoris Faure <billiob@gmail.com>2018-03-19 22:12:28 +0100
commit33eb5261e6a21c87b4f207b1202fb0c79b4d7b50 (patch)
tree278d73c790235c258e23523239a7786957015d71
parentwin: expose term_focus(); (diff)
downloadterminology-33eb5261e6a21c87b4f207b1202fb0c79b4d7b50.tar.gz
termio: force refocus after ctx popup is deleted. Closes https://phab.enlightenment.org/T6782
-rw-r--r--src/bin/termio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 8ca7e0a..e8f819b 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -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