Skip to content

Commit c258288

Browse files
committed
Fix mouse position for fullscreen windows with non-native titlebar
1 parent fbfc05f commit c258288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

JuceLibraryCode/modules/juce_gui_basics/native/juce_Windowing_windows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ class HWNDComponentPeer final : public ComponentPeer
15271527

15281528
std::optional<BorderSize<int>> getCustomBorderSize() const
15291529
{
1530-
if (hasTitleBar() || (styleFlags & windowIsTemporary) != 0)
1530+
if (hasTitleBar() || (styleFlags & windowIsTemporary) != 0 || isFullScreen())
15311531
return {};
15321532

15331533
return BorderSize<int> { 0, 0, 0, 0 };

0 commit comments

Comments
 (0)