This cleanup a bit how we store and use the preferred_scale and
preferred_fractional_scale.

This rename some methods to make their behavior more explicit.
This commit is contained in:
Willow Barraco
2023-09-18 11:59:33 +02:00
parent 63c209ec7f
commit 02027621af
2 changed files with 23 additions and 17 deletions

View File

@ -96,7 +96,8 @@ struct kbd {
bool print;
bool print_intersect;
uint32_t w, h;
double scale, pending_scale;
double scale;
double preferred_scale, preferred_fractional_scale;
bool landscape;
uint8_t mods;
uint8_t compose;