diff options
author | nicm <nicm> | 2015-08-28 15:51:48 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-08-28 15:51:48 +0000 |
commit | e2100c5f5f9c71185e2a3c410ebdd37f52d701a7 (patch) | |
tree | 63fdea353ef8c7307bb31467dbaf579527f5d306 /tmux.h | |
parent | b0940bdf5460ec3324254b5df68b5386513641b2 (diff) | |
download | rtmux-e2100c5f5f9c71185e2a3c410ebdd37f52d701a7.tar.gz rtmux-e2100c5f5f9c71185e2a3c410ebdd37f52d701a7.tar.bz2 rtmux-e2100c5f5f9c71185e2a3c410ebdd37f52d701a7.zip |
We now only checking for name changes when the active pane has changed,
but that can only happen when we have already been woken up by a read
event, so there is no need for a timer, we can just check the changed
flag on the end of that read event (we already loop over the windows to
check for bells etc anyway).
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -870,7 +870,6 @@ 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; @@ -2209,7 +2208,7 @@ void window_choose_collapse_all(struct window_pane *); void window_choose_set_current(struct window_pane *, u_int); /* names.c */ -void queue_window_name(struct window *); +void check_window_name(struct window *); char *default_window_name(struct window *); char *format_window_name(struct window *); char *parse_window_name(const char *); |