summaryrefslogtreecommitdiffstats
path: root/control-notify.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 /control-notify.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 'control-notify.c')
-rw-r--r--control-notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-notify.c b/control-notify.c
index 9158ce2c..3b2d32eb 100644
--- a/control-notify.c
+++ b/control-notify.c
@@ -88,7 +88,7 @@ control_notify_window_layout_changed(struct window *w)
if (w->layout_root == NULL)
continue;
- ft = format_create(NULL, 0);
+ ft = format_create(NULL, FORMAT_NONE, 0);
wl = winlink_find_by_window(&s->windows, w);
if (wl != NULL) {
format_defaults(ft, c, NULL, wl, NULL);