|
|
|
@ -466,7 +466,7 @@ static uint32_t render_to_cairo(cairo_t *cairo, struct swaybar_output *output) {
|
|
|
|
x = 0;
|
|
|
|
x = 0;
|
|
|
|
if (config->workspace_buttons) {
|
|
|
|
if (config->workspace_buttons) {
|
|
|
|
struct swaybar_workspace *ws;
|
|
|
|
struct swaybar_workspace *ws;
|
|
|
|
wl_list_for_each_reverse(ws, &output->workspaces, link) {
|
|
|
|
wl_list_for_each(ws, &output->workspaces, link) {
|
|
|
|
uint32_t h = render_workspace_button(cairo, output, ws, &x);
|
|
|
|
uint32_t h = render_workspace_button(cairo, output, ws, &x);
|
|
|
|
max_height = h > max_height ? h : max_height;
|
|
|
|
max_height = h > max_height ? h : max_height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|