aboutsummaryrefslogtreecommitdiff
path: root/sway/CMakeLists.txt
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2016-09-17 17:25:45 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2016-09-17 17:25:45 +1000
commite4cb4d1b5cd32e9455243ee7138bf007343269c2 (patch)
tree1c96a901a341a314be49844080fdb813b2e7f8b5 /sway/CMakeLists.txt
parent461e250e26ead67351bbecfcd94d8c0f2504a5d2 (diff)
Fix swaybar when running on named outputs.
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.
Diffstat (limited to 'sway/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions