Add cmdq as an argument to format_create and add a format for the

command name (will also be used for more later).
This commit is contained in:
nicm
2015-12-11 12:27:36 +00:00
parent e0f26dcda3
commit 01831da5f5
23 changed files with 32 additions and 28 deletions

View File

@ -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);