aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-02 18:35:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-02 18:35:32 +0000
commit6f281cebfb5db24c10a2cd0a10e2175fe9f6b514 (patch)
tree64b013816508c4267b43c4d29f19b25f1a4cdf95 /terminal.h
parentinput: keyboard-leave: move comment to where it belongs (diff)
term: add term_visual_focus_{in,out}
These functions should be called when the terminal gets or loses visual focus. Note that this isn't necessarily the same as having keyboard focus.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 301ebad1..16323bfb 100644
--- a/terminal.h
+++ b/terminal.h
@@ -378,6 +378,8 @@ void term_arm_blink_timer(struct terminal *term);
void term_restore_cursor(struct terminal *term);
+void term_visual_focus_in(struct terminal *term);
+void term_visual_focus_out(struct terminal *term);
void term_kbd_focus_in(struct terminal *term);
void term_kbd_focus_out(struct terminal *term);
void term_mouse_down(struct terminal *term, int button, int row, int col);