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.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.c')
| -rw-r--r-- | usr.bin/tmux/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index eac84bdf3f9..82a96c09034 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.215 2018/11/30 08:44:40 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.216 2018/12/18 13:20:44 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1258,7 +1258,7 @@ window_pane_reset_mode(struct window_pane *wp) void window_pane_key(struct window_pane *wp, struct client *c, struct session *s, - key_code key, struct mouse_event *m) + struct winlink *wl, key_code key, struct mouse_event *m) { struct window_pane *wp2; @@ -1268,7 +1268,7 @@ window_pane_key(struct window_pane *wp, struct client *c, struct session *s, if (wp->mode != NULL) { wp->modelast = time(NULL); if (wp->mode->key != NULL) - wp->mode->key(wp, c, s, (key & ~KEYC_XTERM), m); + wp->mode->key(wp, c, s, wl, (key & ~KEYC_XTERM), m); return; } |
