Revision e4cb4d1b5cd32e9455243ee7138bf007343269c2 authored by Ryan Dwyer on 17 September 2016, 07:25:45 UTC, committed by Ryan Dwyer on 17 September 2016, 07:25:45 UTC
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.
1 parent 461e250
History
File Mode Size
CMakeLists.txt -rw-r--r-- 478 bytes
buffers.c -rw-r--r-- 2.8 KB
cairo.c -rw-r--r-- 3.2 KB
pango.c -rw-r--r-- 1.9 KB
registry.c -rw-r--r-- 9.1 KB
window.c -rw-r--r-- 5.4 KB

back to top