diff options
author | 2018-10-25 18:32:09 +0200 | |
---|---|---|
committer | 2018-10-25 18:32:09 +0200 | |
commit | 6b59533646ea50e843f594ba041109873e0db16b (patch) | |
tree | 5b088b441106cf669162c7793b2ef876ea30c864 /swaybar/ipc.c | |
parent | Merge pull request #2975 from RyanDwyer/deny-commands-when-no-outputs (diff) | |
parent | swaybar: when scrolling, check that there are workspaces to scroll on (diff) | |
download | sway-6b59533646ea50e843f594ba041109873e0db16b.tar.gz sway-6b59533646ea50e843f594ba041109873e0db16b.tar.zst sway-6b59533646ea50e843f594ba041109873e0db16b.zip |
Merge pull request #2973 from ianyfan/swaybar
swaybar: fix scrolling behaviour
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r-- | swaybar/ipc.c | 2 |
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) { | |||
307 | if (ws->urgent) { | 307 | if (ws->urgent) { |
308 | bar->visible_by_urgency = true; | 308 | bar->visible_by_urgency = true; |
309 | } | 309 | } |
310 | wl_list_insert(&output->workspaces, &ws->link); | 310 | wl_list_insert(output->workspaces.prev, &ws->link); |
311 | } | 311 | } |
312 | } | 312 | } |
313 | } | 313 | } |