From 8a09ac37cba8a732452e1ca5caef06a04944168c Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 28 May 2024 19:47:23 +0100 Subject: [PATCH] ResizableWindow: Always set resizable flag, regardless of whether the window has a title bar --- modules/juce_gui_basics/windows/juce_ResizableWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/windows/juce_ResizableWindow.cpp b/modules/juce_gui_basics/windows/juce_ResizableWindow.cpp index fddb30b721..85bb1e0fc0 100644 --- a/modules/juce_gui_basics/windows/juce_ResizableWindow.cpp +++ b/modules/juce_gui_basics/windows/juce_ResizableWindow.cpp @@ -79,7 +79,7 @@ int ResizableWindow::getDesktopWindowStyleFlags() const { int styleFlags = TopLevelWindow::getDesktopWindowStyleFlags(); - if (isResizable() && (styleFlags & ComponentPeer::windowHasTitleBar) != 0) + if (isResizable()) styleFlags |= ComponentPeer::windowIsResizable; return styleFlags;