mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Didn't mean to commit this stuff.
This commit is contained in:
7
names.c
7
names.c
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: names.c,v 1.5 2009/08/18 21:18:20 nicm Exp $ */
|
||||
/* $Id: names.c,v 1.13 2009-08-19 09:04:48 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -42,6 +42,8 @@ set_window_names(void)
|
||||
w = ARRAY_ITEM(&windows, i);
|
||||
if (w == NULL || w->active == NULL)
|
||||
continue;
|
||||
if (!options_get_number(&w->options, "automatic-rename"))
|
||||
continue;
|
||||
|
||||
if (timercmp(&tv, &w->name_timer, <))
|
||||
continue;
|
||||
@ -50,9 +52,6 @@ set_window_names(void)
|
||||
tv2.tv_usec = NAME_INTERVAL * 1000L;
|
||||
timeradd(&w->name_timer, &tv2, &w->name_timer);
|
||||
|
||||
if (!options_get_number(&w->options, "automatic-rename"))
|
||||
continue;
|
||||
|
||||
if (w->active->screen != &w->active->base)
|
||||
name = NULL;
|
||||
else
|
||||
|
Reference in New Issue
Block a user