diff options
author | 2018-10-21 22:57:29 -0400 | |
---|---|---|
committer | 2018-10-21 22:57:29 -0400 | |
commit | 80e8be71a34c44dec693c0b54f8b6b220920b290 (patch) | |
tree | 8696d1c2d30824b01e775c7f118a58eb92ec3ebb /sway.desktop | |
parent | Merge pull request #2913 from emersion/fix-swaybar-hotplug (diff) | |
download | sway-80e8be71a34c44dec693c0b54f8b6b220920b290.tar.gz sway-80e8be71a34c44dec693c0b54f8b6b220920b290.tar.zst sway-80e8be71a34c44dec693c0b54f8b6b220920b290.zip |
cmd_reload: recalc font sizing + rebuild textures
When the config gets reloaded, the font height and baseline get reset to
0. If the config does not have a font command in it, the variables will
remain at 0 causing a transparent area where the title would be
rendered.
This makes it so the font height and baseline are recalculated. Additionally,
since the font height and baseline may have changed due to the reload, the
title and marks textures are rebuilt.
Diffstat (limited to 'sway.desktop')
0 files changed, 0 insertions, 0 deletions