From 8d935b25b287cf23251d6973afcae6c7b5607710 Mon Sep 17 00:00:00 2001 From: reuk Date: Wed, 18 Jun 2025 20:11:50 +0100 Subject: [PATCH] Windows: Disable edge-resizer cursors for kiosk-mode windows --- modules/juce_gui_basics/native/juce_Windowing_windows.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp index f8268f6c6d..15e255034a 100644 --- a/modules/juce_gui_basics/native/juce_Windowing_windows.cpp +++ b/modules/juce_gui_basics/native/juce_Windowing_windows.cpp @@ -3877,7 +3877,8 @@ private: // and if Microsoft's own VS Code doesn't have perfect mouse handling I don't // think we can be expected to either! - if ((styleFlags & windowIsResizable) != 0) + if ((styleFlags & windowIsResizable) != 0 + && Desktop::getInstance().getKioskModeComponent() != &component) { const ScopedThreadDPIAwarenessSetter scope { hwnd };