aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2015-08-28 16:10:46 +0000
committernicm <nicm>2015-08-28 16:10:46 +0000
commit55b8d7456155de4e5d44136a140a599e2a2a755b (patch)
tree5319be8f04742fad7581402f461ec10ae4246d4f /tmux.h
parente2100c5f5f9c71185e2a3c410ebdd37f52d701a7 (diff)
downloadrtmux-55b8d7456155de4e5d44136a140a599e2a2a755b.tar.gz
rtmux-55b8d7456155de4e5d44136a140a599e2a2a755b.tar.bz2
rtmux-55b8d7456155de4e5d44136a140a599e2a2a755b.zip
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.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 395d3292..6ac0b578 100644
--- a/tmux.h
+++ b/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 *);