1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00
JUCE/modules/juce_gui_basics/native
reuk 087cda7e1f
HWNDComponentPeer: Fix reentrancy bug in DPICHANGED handler
Sometimes, changing the bounds of the window inside the DPICHANGED
handler can cause further DPI change events to be processed. Previously,
the scaleFactor set by the "inner" events was also being used when
notifying listeners about the "outer" events, leading to graphical
glitches.

An effect of the bug was that VST2 views in the AudioPluginHost would
occasionally render with an incorrect size and position after dragging
them between displays with different scale factors.

With this change in place, we only notify listeners and update window
bounds once there are no DPI changes in progress.
2021-07-30 09:20:11 +01:00
..
accessibility Accessibility: Add Android support 2021-07-28 11:44:29 +01:00
java/app/com/rmsl/juce Accessibility: Add Android support 2021-07-28 11:44:29 +01:00
javaopt/app/com/rmsl/juce Updated all license headers 2020-06-29 08:30:22 +01:00
x11 AudioProcessorGraph: Improve performance when building large graphs 2021-07-08 10:47:36 +01:00
juce_android_ContentSharer.cpp Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
juce_android_FileChooser.cpp Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
juce_android_Windowing.cpp Accessibility: Add Android support 2021-07-28 11:44:29 +01:00
juce_common_MimeTypes.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ios_ContentSharer.cpp Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
juce_ios_FileChooser.mm MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0 2021-06-10 15:20:39 +01:00
juce_ios_UIViewComponentPeer.mm Accessibility: Add iOS support 2021-07-28 11:44:29 +01:00
juce_ios_Windowing.mm Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options 2021-07-21 16:34:12 +01:00
juce_linux_FileChooser.cpp FileChooser: Allow multiple directory selection on Linux/Zenity 2021-05-24 19:41:11 +01:00
juce_linux_Windowing.cpp Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options 2021-07-21 16:34:12 +01:00
juce_mac_FileChooser.mm macOS: Use the NSOpenPanel message property to display the FileChooser title correctly 2021-07-27 14:34:30 +01:00
juce_mac_MainMenu.mm Mac MainMenu: Allow commands without modifiers to be passed to peer 2021-07-14 14:49:05 +01:00
juce_mac_MouseCursor.mm Updated all license headers 2020-06-29 08:30:22 +01:00
juce_mac_NSViewComponentPeer.mm Objective-C++: Make getIvar() a free function so it can be used without a class instance 2021-07-28 11:44:28 +01:00
juce_mac_Windowing.mm Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options 2021-07-21 16:34:12 +01:00
juce_MultiTouchMapper.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_win32_DragAndDrop.cpp Windows: Fix and suppress some analysis warnings 2021-05-26 15:34:26 +01:00
juce_win32_FileChooser.cpp FileChooser: Always set initial directory if the initialFileOrDirectory argument is not empty 2021-07-14 15:40:58 +01:00
juce_win32_ScopedThreadDPIAwarenessSetter.h Windows: Added ScopedThreadDPIAwarenessSetter for correctly setting and resetting thread DPI-awareness for methods which interact with an HWND and removed some DPI workarounds 2021-03-02 15:56:10 +00:00
juce_win32_Windowing.cpp HWNDComponentPeer: Fix reentrancy bug in DPICHANGED handler 2021-07-30 09:20:11 +01:00