From d9e35c08db918b33f2705b901610ba373b75f31b Mon Sep 17 00:00:00 2001 From: Kristian Vos Date: Sat, 29 Apr 2023 13:21:56 +0200 Subject: [PATCH] Fix window switching monitor when exiting fullscreen --- src/ui/KonvergoWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/KonvergoWindow.cpp b/src/ui/KonvergoWindow.cpp index 0dc5f706..8ce81fb8 100644 --- a/src/ui/KonvergoWindow.cpp +++ b/src/ui/KonvergoWindow.cpp @@ -226,6 +226,9 @@ QRect KonvergoWindow::loadGeometry() } else { + if (myScreen) + nsize = myScreen->geometry(); + setGeometry(nsize); if (SettingsComponent::Get().value(SETTINGS_SECTION_STATE, "maximized").toBool()) setVisibility(QWindow::Maximized);