summaryrefslogtreecommitdiffstats
path: root/sway/config
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-12-10 12:25:17 -0500
committerLibravatar emersion <contact@emersion.fr>2018-12-12 10:23:57 +0100
commit549d9fe489a6a75ef486c67658b34649f4316873 (patch)
tree1542d0bf406633aac5b2fb0dcb980a962c897f48 /sway/config
parentswaybar: handle block->urgent (diff)
downloadsway-549d9fe489a6a75ef486c67658b34649f4316873.tar.gz
sway-549d9fe489a6a75ef486c67658b34649f4316873.tar.zst
sway-549d9fe489a6a75ef486c67658b34649f4316873.zip
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.
Diffstat (limited to 'sway/config')
0 files changed, 0 insertions, 0 deletions