mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Windowing: Fix mouse position in client area for maximised windows with non-native titlebar
The incorrect mouse coordinates could be observed by hovering over widgets such as buttons in a maximised window using a non-native titlebar.
This commit is contained in:
parent
da45497a3d
commit
183c327e75
1 changed files with 1 additions and 1 deletions
|
|
@ -1527,7 +1527,7 @@ public:
|
|||
|
||||
std::optional<BorderSize<int>> getCustomBorderSize() const
|
||||
{
|
||||
if (hasTitleBar() || (styleFlags & windowIsTemporary) != 0)
|
||||
if (hasTitleBar() || (styleFlags & windowIsTemporary) != 0 || isFullScreen())
|
||||
return {};
|
||||
|
||||
return BorderSize<int> { 0, 0, 0, 0 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue