summaryrefslogtreecommitdiff
path: root/swaybar/render.c
diff options
context:
space:
mode:
authoremersion <[email protected]>2018-10-25 18:32:09 +0200
committerGitHub <[email protected]>2018-10-25 18:32:09 +0200
commit6b59533646ea50e843f594ba041109873e0db16b (patch)
tree5b088b441106cf669162c7793b2ef876ea30c864 /swaybar/render.c
parent51ad2676d0bed4b2f0a3de5d118ce80d3d4e2eb2 (diff)
parent19421373b9837860115f1fcf70f160f9d716aee1 (diff)
Merge pull request #2973 from ianyfan/swaybar
swaybar: fix scrolling behaviour
Diffstat (limited to 'swaybar/render.c')
-rw-r--r--swaybar/render.c2
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;
}