diff options
author | 2017-02-03 11:57:27 +0000 | |
---|---|---|
committer | 2017-02-03 11:57:27 +0000 | |
commit | 134e9c117fe89ae8d41181b1409e96985cbe0b1a (patch) | |
tree | 8aa142897fcc1e7ce52926beed78e882da4a2316 /usr.bin/tmux/names.c | |
parent | Set the context id and counter offset to a known value. Enable access (diff) | |
download | wireguard-openbsd-134e9c117fe89ae8d41181b1409e96985cbe0b1a.tar.xz wireguard-openbsd-134e9c117fe89ae8d41181b1409e96985cbe0b1a.zip |
Add a window or pane id "tag" to each format tree and use it to separate
jobs, this means that if the same job is used for different windows or
panes (for example in pane-border-format), it will be run separately for
each pane.
Diffstat (limited to 'usr.bin/tmux/names.c')
-rw-r--r-- | usr.bin/tmux/names.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/names.c b/usr.bin/tmux/names.c index 24156a8355b..7d446b6ea04 100644 --- a/usr.bin/tmux/names.c +++ b/usr.bin/tmux/names.c @@ -1,4 +1,4 @@ -/* $OpenBSD: names.c,v 1.38 2017/01/13 11:56:43 nicm Exp $ */ +/* $OpenBSD: names.c,v 1.39 2017/02/03 11:57:27 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -124,7 +124,7 @@ format_window_name(struct window *w) const char *fmt; char *name; - ft = format_create(NULL, 0); + ft = format_create(NULL, FORMAT_WINDOW|w->id, 0); format_defaults_window(ft, w); format_defaults_pane(ft, w->active); |