mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-26 21:58:08 +01:00
Iterate over workspaces backwards
This commit is contained in:
parent
a76829f375
commit
718502c815
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ static uint32_t render_to_cairo(cairo_t *cairo,
|
|||
double x = 0;
|
||||
if (config->workspace_buttons) {
|
||||
struct swaybar_workspace *ws;
|
||||
wl_list_for_each(ws, &output->workspaces, link) {
|
||||
wl_list_for_each_reverse(ws, &output->workspaces, link) {
|
||||
uint32_t h = render_workspace_button(
|
||||
cairo, config, ws, &x, output->height);
|
||||
max_height = h > max_height ? h : max_height;
|
||||
|
|
Loading…
Reference in a new issue