aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-03 11:49:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-03 11:49:51 +0000
commit43b76f002f997b242fedbab8da19d7ddb4d560cf (patch)
treeb0996afcaab9109a6153042f11331a859fb9bcbd /terminal.h
parentrender: use a unique buffer cookie for the 'search' surface (diff)
parentwayland: debug log state changes in xdg-toplevel-configure (diff)
Merge branch 'visual-focus'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index a1c01942..16323bfb 100644
--- a/terminal.h
+++ b/terminal.h
@@ -276,6 +276,7 @@ struct terminal {
struct wayland *wl;
struct wl_window *window;
+ bool visual_focus;
struct {
int scrollback_lines;
@@ -377,8 +378,10 @@ void term_arm_blink_timer(struct terminal *term);
void term_restore_cursor(struct terminal *term);
-void term_focus_in(struct terminal *term);
-void term_focus_out(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);
void term_mouse_up(struct terminal *term, int button, int row, int col);
void term_mouse_motion(struct terminal *term, int button, int row, int col);