Revert previous; we do need a timer, until I have a better idea. We

can't do the name check every loop, because that is too expensive, and
we can't make sure it only happens infrequently because we have no idea
when the next change will happen.
This commit is contained in:
nicm
2015-08-28 16:10:46 +00:00
parent e2100c5f5f
commit 55b8d74561
5 changed files with 35 additions and 10 deletions

3
tmux.h
View File

@ -870,6 +870,7 @@ RB_HEAD(window_pane_tree, window_pane);
struct window {
u_int id;
char *name;
struct event name_timer;
struct timeval silence_timer;
struct timeval activity_time;
@ -2208,7 +2209,7 @@ void window_choose_collapse_all(struct window_pane *);
void window_choose_set_current(struct window_pane *, u_int);
/* names.c */
void check_window_name(struct window *);
void queue_window_name(struct window *);
char *default_window_name(struct window *);
char *format_window_name(struct window *);
char *parse_window_name(const char *);