diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-04-10 09:57:08 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-04-10 09:57:08 +0000 |
commit | ce67a44a94a9d524ec8f45a452dde37fd7ea991f (patch) | |
tree | 39a8d4dc31815afe7e4cdc5d1963d2931d63fa63 /names.c | |
parent | 14e5cdf02e5a618733c0ba1e11563c851602ec83 (diff) | |
download | rtmux-ce67a44a94a9d524ec8f45a452dde37fd7ea991f.tar.gz rtmux-ce67a44a94a9d524ec8f45a452dde37fd7ea991f.tar.bz2 rtmux-ce67a44a94a9d524ec8f45a452dde37fd7ea991f.zip |
Sync OpenBSD patchset 1091:
Do not fire name timer when automatic-rename is off, from Tim Ruehsen a
while ago.
Diffstat (limited to 'names.c')
-rw-r--r-- | names.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -49,9 +49,7 @@ window_name_callback(unused int fd, unused short events, void *data) struct window *w = data; char *name, *wname; - queue_window_name(w); /* XXX even if the option is off? */ - if (!options_get_number(&w->options, "automatic-rename")) - return; + queue_window_name(w); /* stopped when option turned off */ if (w->active->screen != &w->active->base) name = NULL; |