summaryrefslogtreecommitdiffstats
path: root/control-notify.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-11 12:27:36 +0000
committernicm <nicm>2015-12-11 12:27:36 +0000
commit01831da5f5dd2a1b7622ad421a757cacedbdfc59 (patch)
treec366c7371b12b5633c551cb9862cb9068bff93c6 /control-notify.c
parente0f26dcda36dc35741da6047a11efb853b3137d9 (diff)
Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).
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 7036f6b5..a40f8d7c 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(0);
+ ft = format_create(NULL, 0);
wl = winlink_find_by_window(&s->windows, w);
if (wl != NULL) {
format_defaults(ft, c, NULL, wl, NULL);