diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-04-08 06:47:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-04-08 06:47:26 +0000 |
commit | 631d6b59fdb193cc29d845d1baf30b729a4cb75a (patch) | |
tree | 90e2f029008bc8cba2e6a5140d799d2e1ed712c1 /window.c | |
parent | ed54f01d2f830935e443b3c009a6ef6085c9ae20 (diff) |
Do not fire name timer when automatic-rename is off, from Tim Ruehsen a
while ago.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -297,9 +297,9 @@ window_create1(u_int sx, u_int sy) w->sx = sx; w->sy = sy; - queue_window_name(w); - options_init(&w->options, &global_w_options); + if (options_get_number(&w->options, "automatic-rename")) + queue_window_name(w); for (i = 0; i < ARRAY_LENGTH(&windows); i++) { if (ARRAY_ITEM(&windows, i) == NULL) { |