1
0
Fork 0
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:
reuk 2024-05-30 17:48:23 +01:00
parent 659de5842f
commit f764026626
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
4 changed files with 25 additions and 4 deletions

View file

@ -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