summaryrefslogtreecommitdiffstats
path: root/cmd-break-pane.c
diff options
context:
space:
mode:
authornicm <nicm>2017-02-03 11:57:27 +0000
committernicm <nicm>2017-02-03 11:57:27 +0000
commit7d23d019c0df197d724ced7fec21dc2047634c9b (patch)
tree7f07df20858bf10aef7db907bf4998b53fedd7db /cmd-break-pane.c
parentdd0c8147795c518de443c33895c614e52b42677f (diff)
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-break-pane.c')
-rw-r--r--cmd-break-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-break-pane.c b/cmd-break-pane.c
index c949fe8a..fdefeb17 100644
--- a/cmd-break-pane.c
+++ b/cmd-break-pane.c
@@ -107,7 +107,7 @@ cmd_break_pane_exec(struct cmd *self, struct cmdq_item *item)
if ((template = args_get(args, 'F')) == NULL)
template = BREAK_PANE_TEMPLATE;
- ft = format_create(item, 0);
+ ft = format_create(item, FORMAT_NONE, 0);
format_defaults(ft, item->state.c, dst_s, wl, wp);
cp = format_expand(ft, template);