summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
-rw-r--r--usr.bin/tmux/window-buffer.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/tmux/window-buffer.c b/usr.bin/tmux/window-buffer.c
index f1fd8dcb2b6..723adab3aee 100644
--- a/usr.bin/tmux/window-buffer.c
+++ b/usr.bin/tmux/window-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-buffer.c,v 1.13 2018/02/28 08:55:44 nicm Exp $ */
+/* $OpenBSD: window-buffer.c,v 1.14 2018/12/18 13:20:44 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -31,8 +31,8 @@ static void window_buffer_free(struct window_pane *);
static void window_buffer_resize(struct window_pane *, u_int,
u_int);
static void window_buffer_key(struct window_pane *,
- struct client *, struct session *, key_code,
- struct mouse_event *);
+ struct client *, struct session *,
+ struct winlink *, key_code, struct mouse_event *);
#define WINDOW_BUFFER_DEFAULT_COMMAND "paste-buffer -b '%%'"
@@ -338,7 +338,8 @@ window_buffer_do_paste(void* modedata, void *itemdata, struct client *c,
static void
window_buffer_key(struct window_pane *wp, struct client *c,
- __unused struct session *s, key_code key, struct mouse_event *m)
+ __unused struct session *s, __unused struct winlink *wl, key_code key,
+ struct mouse_event *m)
{
struct window_buffer_modedata *data = wp->modedata;
struct mode_tree_data *mtd = data->data;