summaryrefslogtreecommitdiffstats
path: root/servers/rendering/rendering_server_default.cpp
diff options
context:
space:
mode:
authorRiteo <riteo@posteo.net>2024-03-16 14:48:11 +0100
committerRiteo <riteo@posteo.net>2024-05-07 19:50:48 +0200
commit1bb8199342fc40e00145ff06a634c3389f1ba0d6 (patch)
treef96812861db6c062850ea079a85097389532d84c /servers/rendering/rendering_server_default.cpp
parentd8aa2c65a9f857e86d0c1fc1cc6b95b8ccf23099 (diff)
downloadredot-engine-1bb8199342fc40e00145ff06a634c3389f1ba0d6.tar.gz
Wayland: Workaround API limitation in screen/UI scale logic
Mainly, this fixes auto UI scaling with _single-monitor_ fractional setups (see the comment in `display_server_wayland.cpp` for more info). This is the result of a bunch of current limitations, mainly the fact that the UI scale is static (it's probed at startup) and the fact that Wayland exposes fractional scales only at the window-level, by design. The `screen_get_scale` special case should help in 99% of cases, while the auto UI scale part will unfortunately only help with single-screen situations, as multi-screen fractional scaling requires dynamic UI scale changing.
Diffstat (limited to 'servers/rendering/rendering_server_default.cpp')
0 files changed, 0 insertions, 0 deletions