mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
ResizableWindow: Set resizable flag only when desktop does not support native nonclient resize
This commit is contained in:
parent
0ffe5948a5
commit
3da5a3c9bd
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ int ResizableWindow::getDesktopWindowStyleFlags() const
|
|||
{
|
||||
int styleFlags = TopLevelWindow::getDesktopWindowStyleFlags();
|
||||
|
||||
if (isResizable())
|
||||
if (isResizable() && Desktop::getInstance().supportsBorderlessNonClientResize())
|
||||
styleFlags |= ComponentPeer::windowIsResizable;
|
||||
|
||||
return styleFlags;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue