diff options
author | 2017-08-30 10:33:57 +0000 | |
---|---|---|
committer | 2017-08-30 10:33:57 +0000 | |
commit | 0772530e7a21dd30554c202aa0d10ae3bce30064 (patch) | |
tree | 2ee6e2dc911acaedc290aa8577975ae4aeea7924 /usr.bin/tmux/tmux.h | |
parent | No need for NULL checks before afree() (diff) | |
download | wireguard-openbsd-0772530e7a21dd30554c202aa0d10ae3bce30064.tar.xz wireguard-openbsd-0772530e7a21dd30554c202aa0d10ae3bce30064.zip |
Pass flags into cmd_find_from_* to fix prefer-unattached, reported by
Thomas Sattler.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 03a55aa811e..e07db1d5b05 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.802 2017/08/28 12:36:38 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.803 2017/08/30 10:33:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1768,20 +1768,22 @@ void cmd_find_copy_state(struct cmd_find_state *, struct cmd_find_state *); void cmd_find_log_state(const char *, struct cmd_find_state *); void cmd_find_from_session(struct cmd_find_state *, - struct session *); + struct session *, int); void cmd_find_from_winlink(struct cmd_find_state *, - struct winlink *); + struct winlink *, int); int cmd_find_from_session_window(struct cmd_find_state *, - struct session *, struct window *); -int cmd_find_from_window(struct cmd_find_state *, struct window *); + struct session *, struct window *, int); +int cmd_find_from_window(struct cmd_find_state *, struct window *, + int); void cmd_find_from_winlink_pane(struct cmd_find_state *, - struct winlink *, struct window_pane *); + struct winlink *, struct window_pane *, int); int cmd_find_from_pane(struct cmd_find_state *, - struct window_pane *); -int cmd_find_from_client(struct cmd_find_state *, struct client *); + struct window_pane *, int); +int cmd_find_from_client(struct cmd_find_state *, struct client *, + int); int cmd_find_from_mouse(struct cmd_find_state *, - struct mouse_event *); -int cmd_find_from_nothing(struct cmd_find_state *); + struct mouse_event *, int); +int cmd_find_from_nothing(struct cmd_find_state *, int); /* cmd.c */ int cmd_pack_argv(int, char **, char *, size_t); |