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/ipc.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/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) { if (ws->urgent) { bar->visible_by_urgency = true; } - wl_list_insert(&output->workspaces, &ws->link); + wl_list_insert(output->workspaces.prev, &ws->link); } } } |
