diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-10-25 12:23:48 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-10-25 12:57:16 +0100 |
commit | c3fdabb72545302a25a915ae1f76a04cb7f61729 (patch) | |
tree | f99ec6724dc49af5724389a9941019ed3777e242 /swaybar/render.c | |
parent | b1c49038a6812d7df914dbb873b93a8fe19c7889 (diff) |
swaybar: reverse order of workspaces list
This makes it congruent with its visual appearance, making it easier to
reason about.
Diffstat (limited to 'swaybar/render.c')
-rw-r--r-- | swaybar/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c index 85e7542f..4ebf922e 100644 --- a/swaybar/render.c +++ b/swaybar/render.c @@ -466,7 +466,7 @@ static uint32_t render_to_cairo(cairo_t *cairo, struct swaybar_output *output) { x = 0; if (config->workspace_buttons) { struct swaybar_workspace *ws; - wl_list_for_each_reverse(ws, &output->workspaces, link) { + wl_list_for_each(ws, &output->workspaces, link) { uint32_t h = render_workspace_button(cairo, output, ws, &x); max_height = h > max_height ? h : max_height; } |