From 7d23d019c0df197d724ced7fec21dc2047634c9b Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 3 Feb 2017 11:57:27 +0000 Subject: 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. --- screen-redraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'screen-redraw.c') diff --git a/screen-redraw.c b/screen-redraw.c index b7833716..ae2948aa 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -280,7 +280,7 @@ screen_redraw_make_pane_status(struct client *c, struct window *w, fmt = options_get_string(w->options, "pane-border-format"); - ft = format_create(NULL, 0); + ft = format_create(NULL, FORMAT_PANE|wp->id, 0); format_defaults(ft, c, NULL, NULL, wp); memcpy(&old, &wp->status_screen, sizeof old); -- cgit