aboutsummaryrefslogtreecommitdiff
path: root/names.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-04-10 09:57:08 +0000
committerTiago Cunha <tcunha@gmx.com>2012-04-10 09:57:08 +0000
commitce67a44a94a9d524ec8f45a452dde37fd7ea991f (patch)
tree39a8d4dc31815afe7e4cdc5d1963d2931d63fa63 /names.c
parent14e5cdf02e5a618733c0ba1e11563c851602ec83 (diff)
downloadrtmux-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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/names.c b/names.c
index 1dbc26dd..d077abe7 100644
--- a/names.c
+++ b/names.c
@@ -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;