yuzu/src
Morph d6677b50f6 main: Fix borderless fullscreen for high dpi scaled displays
On Windows, a borderless window will be treated the same as exclusive fullscreen
when the window geometry matches the physical dimensions of the screen.
However, with High DPI scaling, when the devicePixelRatioF() is > 1, the borderless
window apparently is not treated as exclusive fullscreen and functions correctly.
One can verify and replicate this behavior by using a high resolution (4K) display,
and switching between 100% and 200% scaling in Windows' display settings.
At 100%, without the addition of 1, it is treated as exclusive fullscreen.
At 200%, with or without the addition of 1, it is treated as borderless windowed.
Therefore, we can use (read: abuse) this difference in behavior to fix this issue for
those with higher resolution displays when the Qt scaling ratio is > 1.
Should this behavior be changed in the future, please revisit this workaround.
2023-02-12 21:58:49 -05:00
..
audio_core biquad_filter: Clamp f64 in ApplyBiquadFilterFloat 2023-02-10 20:43:34 +00:00
common input_common: Reintroduce custom pro controller support 2023-02-09 20:08:54 -06:00
core Merge pull request #9757 from german77/gyro 2023-02-12 00:19:22 -08:00
dedicated_room cmake: move find-modules to root cmake dir 2023-01-02 18:22:07 +01:00
input_common input_common: Reintroduce custom pro controller support 2023-02-09 20:08:54 -06:00
network cmake: prefer system libraries 2022-12-04 17:09:25 +01:00
shader_recompiler glsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMask 2023-02-08 19:34:39 -05:00
tests buffer_base: Partially revert changes from #9559 2023-02-08 19:37:23 -05:00
video_core Merge pull request #9746 from ameerj/ogl-msaa-texcache 2023-02-12 00:18:52 -08:00
web_service cmake: prefer system libraries 2022-12-04 17:09:25 +01:00
yuzu main: Fix borderless fullscreen for high dpi scaled displays 2023-02-12 21:58:49 -05:00
yuzu_cmd input_common: Reintroduce custom pro controller support 2023-02-09 20:08:54 -06:00
.clang-format chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
CMakeLists.txt cmake: make room server optional 2022-12-28 17:18:27 -05:00