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 | Merge pull request #2971 from RyanDwyer/document-output-identifiers (diff) | |
download | sway-c3fdabb72545302a25a915ae1f76a04cb7f61729.tar.gz sway-c3fdabb72545302a25a915ae1f76a04cb7f61729.tar.zst sway-c3fdabb72545302a25a915ae1f76a04cb7f61729.zip |
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) { | |||
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 | } |