mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Pass window into mode functions.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user