diff options
author | nicm <nicm> | 2017-02-03 11:57:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-02-03 11:57:27 +0000 |
commit | 7d23d019c0df197d724ced7fec21dc2047634c9b (patch) | |
tree | 7f07df20858bf10aef7db907bf4998b53fedd7db /cmd-queue.c | |
parent | dd0c8147795c518de443c33895c614e52b42677f (diff) | |
download | rtmux-7d23d019c0df197d724ced7fec21dc2047634c9b.tar.gz rtmux-7d23d019c0df197d724ced7fec21dc2047634c9b.tar.bz2 rtmux-7d23d019c0df197d724ced7fec21dc2047634c9b.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 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index d1875717..8e3b0bf3 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -268,7 +268,7 @@ cmdq_format(struct cmdq_item *item, const char *key, const char *fmt, ...) for (loop = item; loop != NULL; loop = item->next) { if (loop->formats == NULL) - loop->formats = format_create(NULL, 0); + loop->formats = format_create(NULL, FORMAT_NONE, 0); format_add(loop->formats, key, "%s", value); } |