summaryrefslogtreecommitdiffstats
path: root/src/proto/terminal.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-08 22:13:38 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-08 22:13:38 +0000
commita48d4e44a24191f5495e17d7616771c20ae3e3c1 (patch)
tree276dd6e4c575048f0502ec6ee0f9b84bdf0b8a44 /src/proto/terminal.pro
parent48873aebc05608e9e5e56b8628ae6d2789ab7c48 (diff)
patch 8.2.3761: focus change is not passed on to a terminal windowv8.2.3761
Problem: Focus change is not passed on to a terminal window. Solution: If the current window is a terminal and focus events are enabled send a focus event escape sequence to the terminal.
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r--src/proto/terminal.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro
index f5bd1a6c7c..d814bc835c 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -18,6 +18,7 @@ int terminal_is_active(void);
cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg);
int term_use_loop(void);
void term_win_entered(void);
+void term_focus_change(int in_focus);
int terminal_loop(int blocking);
int may_close_term_popup(void);
void term_channel_closing(channel_T *ch);