mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 20:25:33 +00:00
0dae35bf3d
Using wl-output to get the desktop display dimensions and dividing by the integer scale factor will not return the correct result when using a desktop with fractional scaling (e.g. a 3840x2160 display at 150% will incorrectly report the scaled desktop area as 1920x1080 instead of 2560x1440). Use the xdg-output protocol, if available, to retrieve the correct desktop dimensions and offset. Versions 1 through 3 of the protocol are supported. |
||
---|---|---|
.. | ||
idle-inhibit-unstable-v1.xml | ||
keyboard-shortcuts-inhibit-unstable-v1.xml | ||
pointer-constraints-unstable-v1.xml | ||
relative-pointer-unstable-v1.xml | ||
tablet-unstable-v2.xml | ||
text-input-unstable-v3.xml | ||
wayland.xml | ||
xdg-activation-v1.xml | ||
xdg-decoration-unstable-v1.xml | ||
xdg-output-unstable-v1.xml | ||
xdg-shell.xml |