From 4946f74253de52f10beb023d4c5b88bafdb11ec4 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 5 Feb 2015 10:29:43 +0000 Subject: Wrap all the individual format_* calls in a single format_defaults functions. --- control-notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'control-notify.c') diff --git a/control-notify.c b/control-notify.c index 4ea1570b..747ef5b4 100644 --- a/control-notify.c +++ b/control-notify.c @@ -88,7 +88,7 @@ control_notify_window_layout_changed(struct window *w) ft = format_create(); wl = winlink_find_by_window(&s->windows, w); if (wl != NULL) { - format_winlink(ft, c->session, wl); + format_defaults(ft, c, NULL, wl, NULL); control_write(c, "%s", format_expand(ft, template)); } format_free(ft); -- cgit