mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
When using a bar on a named output, load_swaybars() requires the output to be active (ie. in the root container), but this is not the case if the bar is added to the last output. To fix this, load_swaybars() is now called after the output has been added to the root container. After fixing that, swaybar would segfault due to using the wrong index variable when loading outputs and config. |
||
|---|---|---|
| .. | ||
| bar.c | ||
| CMakeLists.txt | ||
| config.c | ||
| ipc.c | ||
| main.c | ||
| render.c | ||
| status_line.c | ||