Correct alignment of sequence in infobar

This commit is contained in:
Paul Fariello 2012-01-27 10:36:32 +01:00
parent f8dedf7231
commit bdef66c8f7

View File

@ -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) \<seq>[](button;func;cmd)