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
client
sway
swaybar
swaylock
ipc-client.h -rw-r--r-- 893 bytes
ipc.h -rw-r--r-- 661 bytes
list.h -rw-r--r-- 986 bytes
log.h -rw-r--r-- 1.2 KB
readline.h -rw-r--r-- 177 bytes
stringop.h -rw-r--r-- 1.2 KB
sway.h -rw-r--r-- 87 bytes
util.h -rw-r--r-- 1.1 KB

back to top