Skip to content

Commit 3da22f1

Browse files
jasaavedF0bes
authored andcommitted
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.
1 parent a509350 commit 3da22f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pcsx2-qt/MainWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2583,7 +2583,7 @@ void MainWindow::createDisplayWidget(bool fullscreen, bool render_to_main)
25832583

25842584
#ifdef DISPLAY_SURFACE_WINDOW
25852585
if (isVisible() && g_emu_thread->shouldRenderToMain())
2586-
m_display_surface->setPosition(screen()->availableGeometry().topLeft());
2586+
m_display_surface->setGeometry(screen()->geometry());
25872587
else
25882588
restoreDisplayWindowGeometryFromConfig();
25892589

0 commit comments

Comments
 (0)