diff options
author | Ian Fan <[email protected]> | 2018-10-25 12:23:48 +0100 |
---|---|---|
committer | Ian Fan <[email protected]> | 2018-10-25 12:57:16 +0100 |
commit | c3fdabb72545302a25a915ae1f76a04cb7f61729 (patch) | |
tree | f99ec6724dc49af5724389a9941019ed3777e242 /swaybar/input.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/input.c')
-rw-r--r-- | swaybar/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/input.c b/swaybar/input.c index d0191f51..8e994dcf 100644 --- a/swaybar/input.c +++ b/swaybar/input.c @@ -205,7 +205,7 @@ static void wl_pointer_axis(void *data, struct wl_pointer *wl_pointer, struct swaybar_workspace *new; - if (amt > 0.0) { + if (amt < 0.0) { if (active == first) { if (!bar->config->wrap_scroll) { return; |