mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Change window name change to use a timer event rather than a gettimeofday()
check every loop.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -810,7 +810,7 @@ TAILQ_HEAD(window_panes, window_pane);
|
||||
/* Window structure. */
|
||||
struct window {
|
||||
char *name;
|
||||
struct timeval name_timer;
|
||||
struct event name_timer;
|
||||
|
||||
struct window_pane *active;
|
||||
struct window_panes panes;
|
||||
@ -1851,7 +1851,7 @@ void window_choose_ready(struct window_pane *,
|
||||
u_int, void (*)(void *, int), void (*)(void *), void *);
|
||||
|
||||
/* names.c */
|
||||
void set_window_names(void);
|
||||
void queue_window_name(struct window *);
|
||||
char *default_window_name(struct window *);
|
||||
|
||||
/* session.c */
|
||||
|
Reference in New Issue
Block a user