diff options
author | nicm <nicm> | 2017-08-30 10:33:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-08-30 10:33:57 +0000 |
commit | 17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475 (patch) | |
tree | c50c7f009ebdd188f6f3d9944190685dfc5e8402 /tmux.h | |
parent | a7d1ee5433825c6e09877751a751aa0d9bd27b0d (diff) | |
download | rtmux-17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475.tar.gz rtmux-17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475.tar.bz2 rtmux-17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475.zip |
Pass flags into cmd_find_from_* to fix prefer-unattached, reported by
Thomas Sattler.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -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); |