add wp-fractional-scale-v1

Phileas Lebada 2024-03-09 10:56:10 +00:00
parent 68a5cde190
commit 0f78d0607d

10
Home.md

@ -797,3 +797,13 @@ bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@
Sometimes the kernel driver has trouble detecting hotplugged monitors on some ports. Try this (adapt `card0` and `DP-1` to the GPU and connector you're using):
echo detect | sudo tee /sys/class/drm/card0-DP-1/status
### How do I utilize `wp-fractional-scale-v1` since Sway 1.9?
[Fractional scale protocol](https://wayland.app/protocols/fractional-scale-v1)
> This protocol allows a compositor to suggest for surfaces to render at fractional scales.
* recent [versions of Chrome/Chromium/Blink Derivatives](https://www.phoronix.com/news/Chrome-fractional-scale-v1) utilize it automatically
* [recent Firefox versions](https://bugzilla.mozilla.org/show_bug.cgi?id=1420259) require `about:config` `widget.wayland.fractional-scale.enabled=true`, which is as of 2024-03 having two bugs. [Context Menu Broken](https://bugzilla.mozilla.org/show_bug.cgi?id=1849109), [Blurred Maximized Windows](https://bugzilla.mozilla.org/show_bug.cgi?id=1849092)
* [mpv](https://github.com/mpv-player/mpv/issues/8514) in standard configuration/wayland mode will utilize it automatically and appears to have no known issues