window_choose_mode_item can move into window-choose.c.

pull/1/head
nicm 2015-05-08 16:23:34 +00:00
parent c4a4bd6ac5
commit a538141a72
2 changed files with 8 additions and 8 deletions

8
tmux.h
View File

@ -823,14 +823,6 @@ struct window_choose_data {
char *command;
};
struct window_choose_mode_item {
struct window_choose_data *wcd;
char *name;
int pos;
int state;
#define TREE_EXPANDED 0x1
};
/* Child window structure. */
struct input_ctx;
struct window_pane {

View File

@ -60,6 +60,14 @@ const struct window_mode window_choose_mode = {
NULL,
};
struct window_choose_mode_item {
struct window_choose_data *wcd;
char *name;
int pos;
int state;
#define TREE_EXPANDED 0x1
};
struct window_choose_mode_data {
struct screen screen;