swayfx/swaybar
Brian Ashworth 549d9fe489 swaybar: fix sep block width for mixed scales
When there are outputs with mixed scales, it was possible for swaybar to
alter `block->separator_block_width` for an output with a higher scale,
and use the changed value for a lower scale output. This caused there to
be larger than normal separation between blocks on the lower scale
outputs. The issue is more obvious the larger the scale difference
between the highest scale output and the lowest scale output.

This fixes the issue by using a local variable that is originally set to
`block->separator_block_width` for rendering, but if it needs to be
increased, the local variable is the only thing touched.
2018-12-12 10:23:57 +01:00
..
bar.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
config.c Implement bar gaps 2018-11-28 11:24:14 -05:00
i3bar.c Add relative coordinates in JSON for i3bar click events 2018-12-04 12:49:21 +02:00
input.c Add relative coordinates in JSON for i3bar click events 2018-12-04 12:49:21 +02:00
ipc.c Implement bar gaps 2018-11-28 11:24:14 -05:00
main.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
meson.build swaybar: separate input code to new file 2018-10-18 14:19:00 +01:00
render.c swaybar: fix sep block width for mixed scales 2018-12-12 10:23:57 +01:00
status_line.c More frees. 2018-11-13 14:42:00 +00:00