From bdef66c8f7e7e750933b583d8f502256a8976318 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Fri, 27 Jan 2012 10:36:32 +0100 Subject: [PATCH] Correct alignment of sequence in infobar --- src/status.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status.c b/src/status.c index 7859736..f608852 100644 --- a/src/status.c +++ b/src/status.c @@ -152,7 +152,10 @@ status_parse(struct status_ctx *ctx) #endif /* HAVE_IMLIB2 */ } - SLIST_INSERT_TAIL(&ctx->statushead, sq, next, prev); + if (sq->align == Right) + SLIST_INSERT_HEAD(&ctx->statushead, sq, next); + else + SLIST_INSERT_TAIL(&ctx->statushead, sq, next, prev); /* * Optional mousebind sequence(s) \[](button;func;cmd)