diff options
| author | 2018-12-18 13:20:44 +0000 | |
|---|---|---|
| committer | 2018-12-18 13:20:44 +0000 | |
| commit | bf52409ee856a3e0177d8fcdda2f593bb97f876a (patch) | |
| tree | 0cfa98ce0c4e5ce5754adf746ba2079c83af470f /usr.bin/tmux/window-copy.c | |
| parent | Fix the IPL of pfkeyv2_mtx to prevent a deadlock. The system can use (diff) | |
| download | wireguard-openbsd-bf52409ee856a3e0177d8fcdda2f593bb97f876a.tar.xz wireguard-openbsd-bf52409ee856a3e0177d8fcdda2f593bb97f876a.zip | |
Pass window into mode functions.
Diffstat (limited to 'usr.bin/tmux/window-copy.c')
| -rw-r--r-- | usr.bin/tmux/window-copy.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index 84f40e4a57a..2e8e6f56945 100644 --- a/usr.bin/tmux/window-copy.c +++ b/usr.bin/tmux/window-copy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-copy.c,v 1.204 2018/11/28 11:20:13 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.205 2018/12/18 13:20:44 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -26,7 +26,8 @@ static const char *window_copy_key_table(struct window_pane *); static void window_copy_command(struct window_pane *, struct client *, - struct session *, struct args *, struct mouse_event *); + struct session *, struct winlink *, struct args *, + struct mouse_event *); static struct screen *window_copy_init(struct window_pane *, struct cmd_find_state *, struct args *); static void window_copy_free(struct window_pane *); @@ -514,7 +515,7 @@ window_copy_key_table(struct window_pane *wp) static void window_copy_command(struct window_pane *wp, struct client *c, struct session *s, - struct args *args, struct mouse_event *m) + __unused struct winlink *wl, struct args *args, struct mouse_event *m) { struct window_copy_mode_data *data = wp->modedata; struct screen *sn = &data->screen; |
