mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 16:27:03 +00:00
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:
3
tmux.h
3
tmux.h
@ -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 *);
|
||||
|
Reference in New Issue
Block a user