aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-08-16 17:02:29 +0100
committerThomas Adam <thomas@xteddy.org>2019-08-16 17:02:29 +0100
commit2db9a183620e5362221d2b00190a95aacc4ae90d (patch)
treef8ceb551bf9ce8feade04bf9924f979530124a6f /tmux.h
parent06ad86053ce9dc078feaeb1d4f1ce87f3b072c7c (diff)
parent37583f0a69d22668bdd47e0b30b61d8dac74bdf6 (diff)
downloadrtmux-2db9a183620e5362221d2b00190a95aacc4ae90d.tar.gz
rtmux-2db9a183620e5362221d2b00190a95aacc4ae90d.tar.bz2
rtmux-2db9a183620e5362221d2b00190a95aacc4ae90d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 30d01693..4246dee6 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1684,6 +1684,12 @@ struct spawn_context {
#define SPAWN_EMPTY 0x40
};
+/* Mode tree sort order. */
+struct mode_tree_sort_criteria {
+ u_int field;
+ int reversed;
+};
+
/* tmux.c */
extern struct options *global_options;
extern struct options *global_s_options;
@@ -2475,7 +2481,8 @@ u_int layout_set_next(struct window *);
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_build_cb)(void *, struct mode_tree_sort_criteria *,
+ uint64_t *, const char *);
typedef void (*mode_tree_draw_cb)(void *, void *, struct screen_write_ctx *,
u_int, u_int);
typedef int (*mode_tree_search_cb)(void *, void *, const char *);