mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
ResizableWindow: Disable resizing border for desktop windows
This commit is contained in:
parent
659de5842f
commit
f764026626
4 changed files with 25 additions and 4 deletions
|
|
@ -374,4 +374,13 @@ bool Desktop::isHeadless() const noexcept
|
|||
return displays->displays.isEmpty();
|
||||
}
|
||||
|
||||
bool Desktop::supportsBorderlessNonClientResize() const
|
||||
{
|
||||
#if JUCE_WINDOWS || JUCE_MAC
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
} // namespace juce
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue