aboutsummaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-06-26 19:07:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-06-29 13:38:24 +0000
commit8f74b1090a6a5297ac7b6710420528ff56ed03d2 (patch)
treede928b326d321822df7da822d329cd1803a0e820 /debug.h
parentwayland: 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 'debug.h')
0 files changed, 0 insertions, 0 deletions