diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-10-21 22:57:29 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-10-21 22:57:29 -0400 |
commit | 80e8be71a34c44dec693c0b54f8b6b220920b290 (patch) | |
tree | 8696d1c2d30824b01e775c7f118a58eb92ec3ebb /sway/input/keyboard.c | |
parent | a918844e52a94d949f7db6181263e0186c52eb29 (diff) |
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/input/keyboard.c')
0 files changed, 0 insertions, 0 deletions