Cleanup output management

The goal is to minimize startup redraws.

It looks like the surface must enter the output for us to finaly know
which one it is. We need this to use the correct scale value. It make
the surface to be blurry at first, but I can not find a better way.

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
Willow Barraco
2023-09-07 21:31:49 +02:00
committed by Maarten van Gompel
parent 7af5410235
commit 34d6ce5566
2 changed files with 60 additions and 39 deletions

View File

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