aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-08 23:22:24 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-08 23:22:24 +0000
commitab38d9191343c151607808e58dda4826a10fffab (patch)
treef62e3e1f8628152ff348555a3d26d49b0f7656a9 /tmux.h
parent915031b0495591fcc53a4edbda14a33815218fdd (diff)
downloadrtmux-ab38d9191343c151607808e58dda4826a10fffab.tar.gz
rtmux-ab38d9191343c151607808e58dda4826a10fffab.tar.bz2
rtmux-ab38d9191343c151607808e58dda4826a10fffab.zip
Sync OpenBSD patchset 506:
Change window name change to use a timer event rather than a gettimeofday() check every loop.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index f21a40b9..99b6c71e 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.505 2009-11-08 23:12:35 tcunha Exp $ */
+/* $Id: tmux.h,v 1.506 2009-11-08 23:22:24 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -809,7 +809,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;
@@ -1850,7 +1850,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 */