aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-08-30 10:33:57 +0000
committernicm <nicm>2017-08-30 10:33:57 +0000
commit17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475 (patch)
treec50c7f009ebdd188f6f3d9944190685dfc5e8402 /tmux.h
parenta7d1ee5433825c6e09877751a751aa0d9bd27b0d (diff)
downloadrtmux-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.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/tmux.h b/tmux.h
index 7a54823b..8b88c55a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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);