summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-12 11:02:25 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-12 11:02:25 +0100
commit180bbab1fc39176885f8af777b24f455c14fff57 (patch)
treebb07f09e58bacb1f71875e14b8e7b3260793db94 /tmux.h
parent69c59c52b6b7b188738e1a7e7ec215c0fa9c0e05 (diff)
parenta13165523598fa7670ebc95f3cfb5c892d08745a (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index e7f26135..7e017ca2 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2410,8 +2410,9 @@ u_int layout_set_previous(struct window *);
/* mode-tree.c */
typedef void (*mode_tree_build_cb)(void *, u_int, uint64_t *, const char *);
typedef void (*mode_tree_draw_cb)(void *, void *, struct screen_write_ctx *,
- u_int, u_int);
+ u_int, u_int);
typedef int (*mode_tree_search_cb)(void *, void *, const char *);
+typedef void (*mode_tree_menu_cb)(void *, struct client *, key_code);
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 *);
@@ -2422,7 +2423,8 @@ void mode_tree_each_tagged(struct mode_tree_data *, mode_tree_each_cb,
void mode_tree_down(struct mode_tree_data *, int);
struct mode_tree_data *mode_tree_start(struct window_pane *, struct args *,
mode_tree_build_cb, mode_tree_draw_cb, mode_tree_search_cb,
- void *, const char **, u_int, struct screen **);
+ mode_tree_menu_cb, void *, const char *, const char **, u_int,
+ struct screen **);
void mode_tree_zoom(struct mode_tree_data *, struct args *);
void mode_tree_build(struct mode_tree_data *);
void mode_tree_free(struct mode_tree_data *);