diff --git a/src/hello_imgui/internal/backend_impls/abstract_runner.cpp b/src/hello_imgui/internal/backend_impls/abstract_runner.cpp index 2a2782b0..d77f1fa2 100644 --- a/src/hello_imgui/internal/backend_impls/abstract_runner.cpp +++ b/src/hello_imgui/internal/backend_impls/abstract_runner.cpp @@ -228,8 +228,12 @@ bool AbstractRunner::ShallSizeWindowRelativeTo96Ppi() params.appWindowParams.windowGeometry.windowSizeState == HelloImGui::WindowSizeState::Standard || params.appWindowParams.windowGeometry.windowSizeState == HelloImGui::WindowSizeState::Minimized); + bool isFullScreen = + params.appWindowParams.windowGeometry.fullScreenMode != HelloImGui::FullScreenMode::NoFullScreen; + shallSizeRelativeTo96Ppi = - isStandardSizeMode && isWindowPpiRelativeSize && !doRestorePreviousGeometry; + isStandardSizeMode && isWindowPpiRelativeSize && !doRestorePreviousGeometry && !isFullScreen; + } return shallSizeRelativeTo96Ppi; }