suyu/src/yuzu
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
..
applets main: Convert to device independent coordinates for scaling 2023-01-25 21:16:05 -05:00
configuration input_common: Reintroduce custom pro controller support 2023-02-09 20:08:54 -06:00
debugger main: Globally disable the "?" button on dialogs 2023-01-25 01:12:50 -05:00
multiplayer added 'Hide empty rooms' toggle to lobby 2023-02-02 18:46:28 -06:00
util main: Convert to device independent coordinates for scaling 2023-01-25 21:16:05 -05:00
about_dialog.cpp about dialog: Fix the logo in a multiplatform way 2022-05-16 05:42:38 -07:00
about_dialog.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
aboutdialog.ui Qt: tweak ui files 2022-08-09 05:00:37 -07:00
bootmanager.cpp qt: unlock during signal emission 2023-01-10 12:46:01 -05:00
bootmanager.h qt: unlock during signal emission 2023-01-10 12:46:01 -05:00
CMakeLists.txt Add Game Icon for Discord RPC 2023-02-05 12:40:57 +11:00
compatdb.cpp Merge pull request #9229 from Docteh/achy_breaky_heart 2022-11-17 19:20:18 -05:00
compatdb.h yuzu/compatdb: Rework compatibility submission system 2022-11-10 21:36:22 +01:00
compatdb.ui yuzu/compatdb: Rework compatibility submission system 2022-11-10 21:36:22 +01:00
compatibility_list.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
compatibility_list.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
discord.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
discord_impl.cpp Add Game Icon for Discord RPC 2023-02-05 12:40:57 +11:00
discord_impl.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
game_list.cpp yuzu qt: Create shortcuts on Linux 2022-12-13 16:42:00 -05:00
game_list.h yuzu qt: Create shortcuts on Linux 2022-12-13 16:42:00 -05:00
game_list_p.h yuzu/compatdb: Rework compatibility submission system 2022-11-10 21:36:22 +01:00
game_list_worker.cpp game_list: Eliminate variable shadowing 2022-06-14 08:30:07 -04:00
game_list_worker.h game_list: Eliminate variable shadowing 2022-06-14 08:30:07 -04:00
hotkeys.cpp fix format 2023-01-18 15:49:47 +01:00
hotkeys.h allow volume up/down hotkeys to be repeated 2023-01-18 00:39:31 +01:00
Info.plist macOS: Make Yuzu show up in the Launchpad Games folder (#9594) 2023-01-09 16:43:45 -05:00
install_dialog.cpp main: Globally disable the "?" button on dialogs 2023-01-25 01:12:50 -05:00
install_dialog.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
loading_screen.cpp qt: reset progress bar after shader compilation 2022-07-24 13:35:44 -04:00
loading_screen.h Update some files with Qt 5.15.2 best practices in mind 2022-05-29 09:21:52 -07:00
loading_screen.ui QT: Fix the loading screen 'H' switch logo to not glitch out 2019-02-05 18:24:15 -07:00
main.cpp main: Fix borderless fullscreen for high dpi scaled displays 2023-02-12 21:58:49 -05:00
main.h add volume quicksetting with volume slider 2023-01-19 15:13:23 +01:00
main.ui Qt: assign menuRole properties for actions 2022-11-23 12:41:56 -05:00
mini_dump.cpp mini_dump: Address review feedback 2022-09-04 21:36:35 -04:00
mini_dump.h mini_dump: Address review feedback 2022-09-04 21:36:35 -04:00
precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
startup_checks.cpp Use execlp instead of execl to avoid failure 2022-12-18 14:03:26 +00:00
startup_checks.h startup_checks: Use Windows flow for *nix 2022-11-23 21:35:47 -05:00
uisettings.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
uisettings.h allow volume up/down hotkeys to be repeated 2023-01-18 00:39:31 +01:00
yuzu.qrc chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
yuzu.rc chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00