Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland: Workaround API limitation in screen/UI scale logic #89574

Merged

Commits on May 7, 2024

  1. 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.
    Riteo committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1bb8199 View commit details
    Browse the repository at this point in the history