aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-04-02 13:53:40 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-04-02 13:53:40 -0400
commit7be2e146122da77b2f0d252ce5d399aa84f2f833 (patch)
treebf5839b029a827272691bfd298f0822effebd9db
parent3606afcc4368b0dd79c86b01441969b1ca8c1773 (diff)
Render blocks the correct order
-rw-r--r--swaybar/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index a62e1d01..6f3b0788 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -230,7 +230,7 @@ static uint32_t render_status_line_i3bar(cairo_t *cairo,
uint32_t max_height = 0;
bool edge = true;
struct i3bar_block *block;
- wl_list_for_each_reverse(block, &status->blocks, link) {
+ wl_list_for_each(block, &status->blocks, link) {
uint32_t h = render_status_block(cairo, config, output,
block, x, height, focused, edge);
max_height = h > max_height ? h : max_height;