Skip to content

Commit acdf31b

Browse files
remutroLukeUsher
authored andcommitted
Stay in pseudo-fullscreen when game is reset
1 parent 48c611c commit acdf31b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

desktop-ui/program/drivers.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,15 @@ auto Program::videoPseudoFullScreenToggle() -> void {
6969
if(!ruby::input.acquired() && ruby::video.hasMonitors().size() == 1) {
7070
ruby::input.acquire();
7171
}
72+
startPseudoFullScreen = true;
7273
} else {
7374
if(ruby::input.acquired()) {
7475
ruby::input.release();
7576
}
7677
presentation.menuBar.setVisible(true);
7778
presentation.setFullScreen(false);
7879
presentation.viewport.setFocused();
80+
startPseudoFullScreen = false;
7981
}
8082
}
8183

0 commit comments

Comments
 (0)