diff --git a/modules/juce_gui_basics/native/juce_linux_Windowing.cpp b/modules/juce_gui_basics/native/juce_linux_Windowing.cpp index 2f0e56a7e1..ff742641b8 100644 --- a/modules/juce_gui_basics/native/juce_linux_Windowing.cpp +++ b/modules/juce_gui_basics/native/juce_linux_Windowing.cpp @@ -83,8 +83,13 @@ public: //============================================================================== void setBounds (const Rectangle& newBounds, bool isNowFullScreen) override { - bounds = newBounds.withSize (jmax (1, newBounds.getWidth()), - jmax (1, newBounds.getHeight())); + const auto correctedNewBounds = newBounds.withSize (jmax (1, newBounds.getWidth()), + jmax (1, newBounds.getHeight())); + + if (bounds == correctedNewBounds && fullScreen == isNowFullScreen) + return; + + bounds = correctedNewBounds; updateScaleFactorFromNewBounds (bounds, false);