From 21ab9cec9a7f7909f0fc3ac2a1bf66cd5b03f2c8 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Tue, 7 Feb 2012 16:59:41 +0100 Subject: [PATCH] Use client theme as surface theme --- src/status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status.c b/src/status.c index e48b1f7..a8e98b8 100644 --- a/src/status.c +++ b/src/status.c @@ -565,7 +565,8 @@ status_surface(int x, int y, int w, int h, Color bg, char *status) b = barwin_new(W->root, x, y, w, h, 0, bg, false); barwin_map(b); - ctx = status_new_ctx(b, SLIST_FIRST(&W->h.theme)); + /* Use client theme */ + ctx = status_new_ctx(b, W->ctheme); ctx.status = xstrdup(status); SLIST_INSERT_HEAD(&W->h.vbarwin, b, vnext);