aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-12-18 14:02:40 +0000
committerThomas Adam <thomas@xteddy.org>2018-12-18 14:02:40 +0000
commitc9d482ab489d5d57d481858091608ee1b32e46ab (patch)
tree6c4098d661b689f9fda7e75a4a2c6e771e7e8a6f /tmux.h
parentb6cdac05c7f9ab04bc304a093fe81bee7c2e40c0 (diff)
parentbde0224deb0d0ba87929d2abfb262f3bd187b889 (diff)
downloadrtmux-c9d482ab489d5d57d481858091608ee1b32e46ab.tar.gz
rtmux-c9d482ab489d5d57d481858091608ee1b32e46ab.tar.bz2
rtmux-c9d482ab489d5d57d481858091608ee1b32e46ab.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 8d67e7df..0255e583 100644
--- a/tmux.h
+++ b/tmux.h
@@ -54,6 +54,7 @@ struct options_entry;
struct session;
struct tmuxpeer;
struct tmuxproc;
+struct winlink;
/* Client-server protocol version. */
#define PROTOCOL_VERSION 8
@@ -701,11 +702,12 @@ struct window_mode {
void (*free)(struct window_pane *);
void (*resize)(struct window_pane *, u_int, u_int);
void (*key)(struct window_pane *, struct client *,
- struct session *, key_code, struct mouse_event *);
+ struct session *, struct winlink *, key_code,
+ struct mouse_event *);
const char *(*key_table)(struct window_pane *);
void (*command)(struct window_pane *, struct client *,
- struct session *, struct args *,
+ struct session *, struct winlink *, struct args *,
struct mouse_event *);
};
#define WINDOW_MODE_TIMEOUT 180
@@ -2195,7 +2197,8 @@ int window_pane_set_mode(struct window_pane *,
struct args *);
void window_pane_reset_mode(struct window_pane *);
void window_pane_key(struct window_pane *, struct client *,
- struct session *, key_code, struct mouse_event *);
+ struct session *, struct winlink *, key_code,
+ struct mouse_event *);
int window_pane_visible(struct window_pane *);
u_int window_pane_search(struct window_pane *, const char *);
const char *window_printable_flags(struct winlink *);