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
File | Mode | Size |
---|---|---|
commands | ||
CMakeLists.txt | -rw-r--r-- | 1.1 KB |
border.c | -rw-r--r-- | 12.3 KB |
commands.c | -rw-r--r-- | 14.6 KB |
config.c | -rw-r--r-- | 29.3 KB |
container.c | -rw-r--r-- | 23.8 KB |
criteria.c | -rw-r--r-- | 9.2 KB |
debug_log.c | -rw-r--r-- | 2.9 KB |
extensions.c | -rw-r--r-- | 7.5 KB |
focus.c | -rw-r--r-- | 6.5 KB |
handlers.c | -rw-r--r-- | 26.6 KB |
input.c | -rw-r--r-- | 1.4 KB |
input_state.c | -rw-r--r-- | 12.7 KB |
ipc-json.c | -rw-r--r-- | 15.1 KB |
ipc-server.c | -rw-r--r-- | 20.1 KB |
layout.c | -rw-r--r-- | 34.0 KB |
main.c | -rw-r--r-- | 5.8 KB |
output.c | -rw-r--r-- | 6.9 KB |
sway-bar.5.txt | -rw-r--r-- | 3.7 KB |
sway-input.5.txt | -rw-r--r-- | 1.7 KB |
sway.1.txt | -rw-r--r-- | 3.6 KB |
sway.5.txt | -rw-r--r-- | 15.7 KB |
workspace.c | -rw-r--r-- | 10.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...