aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-11-03 17:02:33 +0000
committernicm <nicm>2017-11-03 17:02:33 +0000
commit50a5f84cb4accf806dea2235ca8d3749b107aac8 (patch)
tree4b385f0816915a783b911680d6ec141652023ad7 /tmux.h
parentba93a647f1b59d85340f9708ee2ae4fb6f201a64 (diff)
downloadrtmux-50a5f84cb4accf806dea2235ca8d3749b107aac8.tar.gz
rtmux-50a5f84cb4accf806dea2235ca8d3749b107aac8.tar.bz2
rtmux-50a5f84cb4accf806dea2235ca8d3749b107aac8.zip
Support mouse on preview in tree mode.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index dcd4c676..28fe1349 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2232,6 +2232,8 @@ typedef int (*mode_tree_search_cb)(void *, void *, const char *);
typedef void (*mode_tree_each_cb)(void *, void *, struct client *, key_code);
u_int mode_tree_count_tagged(struct mode_tree_data *);
void *mode_tree_get_current(struct mode_tree_data *);
+void mode_tree_expand_current(struct mode_tree_data *);
+void mode_tree_set_current(struct mode_tree_data *, uint64_t);
void mode_tree_each_tagged(struct mode_tree_data *, mode_tree_each_cb,
struct client *, key_code, int);
void mode_tree_up(struct mode_tree_data *, int);
@@ -2248,7 +2250,7 @@ struct mode_tree_item *mode_tree_add(struct mode_tree_data *,
void mode_tree_remove(struct mode_tree_data *, struct mode_tree_item *);
void mode_tree_draw(struct mode_tree_data *);
int mode_tree_key(struct mode_tree_data *, struct client *, key_code *,
- struct mouse_event *);
+ struct mouse_event *, u_int *, u_int *);
void mode_tree_run_command(struct client *, struct cmd_find_state *,
const char *, const char *);