From 44d6a2c435ab68df25ed7b14473e6f69870e8a9a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 4 Nov 2009 23:54:57 +0000 Subject: Change window name change to use a timer event rather than a gettimeofday() check every loop. --- tmux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 2839dd29..39072a65 100644 --- a/tmux.h +++ b/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 */ -- cgit