Skip to content

Commit

Permalink
Merge pull request #478 from KrisVos130/fix_fullscreen_monitor_switch
Browse files Browse the repository at this point in the history
Fix window switching monitor when exiting fullscreen
  • Loading branch information
iwalton3 authored Aug 20, 2023
2 parents bc0ec5a + d9e35c0 commit 477ddc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/KonvergoWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 477ddc5

Please sign in to comment.