Qt: Fix Fullscreen not on the correct display

Replace setPosition with setGeometry. This makes sure when rendering to main window, it stays on the current display the main window is currently positioned at.
This commit is contained in:
jasaaved
2026-04-13 07:30:43 -07:00
committed by Ty
parent a509350646
commit 3da22f126e
+1 -1
View File
@@ -2583,7 +2583,7 @@ void MainWindow::createDisplayWidget(bool fullscreen, bool render_to_main)
#ifdef DISPLAY_SURFACE_WINDOW
if (isVisible() && g_emu_thread->shouldRenderToMain())
m_display_surface->setPosition(screen()->availableGeometry().topLeft());
m_display_surface->setGeometry(screen()->geometry());
else
restoreDisplayWindowGeometryFromConfig();