diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-26 19:07:24 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 13:38:24 +0000 |
| commit | 8f74b1090a6a5297ac7b6710420528ff56ed03d2 (patch) | |
| tree | de928b326d321822df7da822d329cd1803a0e820 /spawn.c | |
| parent | wayland: refactor: surface_scale(): pass wl_window pointer, instead of wayland global (diff) | |
wayland: use legacy scaling until fractional_scale::preferred_scale() has been called
This way, the initial frame is more likely to get scaled correctly;
foot will guess the initial (integer) scale from the available
monitors, and use that. By using legacy scaling, we force the
compositor to down-scale the image to the correct scale factor.
If we use the new fraction scaling method with an integer scaling
factor, the initial frame gets rendered way too big.
Diffstat (limited to 'spawn.c')
0 files changed, 0 insertions, 0 deletions
