mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-11 15:30:35 +00:00
This PR aims to Fix the Windows fullscreen gap when toggling from maximized state by using canonical Win32 fullscreen approach. When entering fullscreen, the window style is saved and replaced with WS_POPUP | WS_VISIBLE to remove all window chrome (title bar, borders), then SetWindowPos sizes the window to cover the full screen with SWP_FRAMECHANGED to force Win32 to recalculate the frame. On exit, the original window style is restored. This eliminates the few-pixel gap at the top that occurred because Avalonia's WindowState = FullScreen transition from a maximized state retained the title bar non-client area, leaving visible space at the top of the screen (Fullscreen resolution would be 1920 x 1072p on a 1080p monitor, it now correctly renders at 1920 x 1080p) Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/80 |
||
|---|---|---|
| .. | ||
| Assets | ||
| Common | ||
| Headless | ||
| Input | ||
| Systems | ||
| UI | ||
| Utilities | ||
| app.manifest | ||
| Program.cs | ||
| Ryujinx.csproj | ||
| Ryujinx.ico | ||