summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-11-04 23:54:58 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-11-04 23:54:58 +0000
commitffdb1c7765a565e491fab9fdfa7cc59d46bea393 (patch)
treeb6db31e81d352a9be95ce8a01cbe2b1376178144 /usr.bin/tmux/tmux.h
parentd139043c80e30af1d1336dda9a15bd8e3d52306e (diff)
Change window name change to use a timer event rather than a gettimeofday()
check every loop.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 2250bd6251a..289cae8d18a 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.167 2009/11/04 23:42:51 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.168 2009/11/04 23:54:57 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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 */