Skip to content

Commit

Permalink
Ignore save window state when fullscreen (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonflylee authored Dec 8, 2024
1 parent d4190bc commit 0e5afca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wiliwili/source/utils/config_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ void ProgramConfig::loadHomeWindowState() {

void ProgramConfig::saveHomeWindowState() {
if (isnan(VideoContext::posX) || isnan(VideoContext::posY)) return;
if (VideoContext::FULLSCREEN) return;
auto videoContext = brls::Application::getPlatform()->getVideoContext();

uint32_t width = VideoContext::sizeW;
Expand Down

0 comments on commit 0e5afca

Please sign in to comment.