aboutsummaryrefslogtreecommitdiff
path: root/swaybar/main.c
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-07 15:49:51 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-07 15:49:51 +1000
commit0046eed96903c745142208c40aa5f10d0b5931cb (patch)
tree2675baaf165acdfc7f8090f9a8750eb971535659 /swaybar/main.c
parentfc4ed6f037f28102921492ee0b0457771defa80f (diff)
Fix titles when container titles contain UTF-8 characters
The title and marks textures would have their height set from the config's computed max font height, but the textures were not regenerated when the config's max font height changed which made a gap appear. Rather than making it regenerate the title textures every time the config font height was changed, I've changed it to just make the textures the height of the title itself and fill any gap when rendering. Also, the title_width and marks_width variables have been renamed to make it more obvious that they are in output-buffer-local coordinates. Fixes #1936.
Diffstat (limited to 'swaybar/main.c')
0 files changed, 0 insertions, 0 deletions