summaryrefslogtreecommitdiff
path: root/swaybar/ipc.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/ipc.c
parent51ad2676d0bed4b2f0a3de5d118ce80d3d4e2eb2 (diff)
parent19421373b9837860115f1fcf70f160f9d716aee1 (diff)
Merge pull request #2973 from ianyfan/swaybar
swaybar: fix scrolling behaviour
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r--swaybar/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index e1b30b52..706f968d 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -307,7 +307,7 @@ bool ipc_get_workspaces(struct swaybar *bar) {
if (ws->urgent) {
bar->visible_by_urgency = true;
}
- wl_list_insert(&output->workspaces, &ws->link);
+ wl_list_insert(output->workspaces.prev, &ws->link);
}
}
}