1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-21 01:24:21 +00:00
JUCE/modules/juce_gui_basics/commands
reuk 1ee106d730
PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors
When bridging 32-bit/64-bit plugins on Windows, the plugin is hosted in
an auxilliary process, and the plugin's editor is embedded into an HWND
owned by a different process (the plugin host).

Previously, the `isForegroundProcess` check would fail for bridged
plugins, because the foreground window may belong to the DAW, rather
than to the auxilliary hosting process.

This patch adds an additional check, to find whether the same process
owns both the foreground window, and the window which embeds the
PopupMenu's target component. In this case, we avoid immediately
dismissing the PopupMenu.
2021-06-08 14:57:42 +01:00
..
juce_ApplicationCommandID.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ApplicationCommandInfo.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ApplicationCommandInfo.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ApplicationCommandManager.cpp PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors 2021-06-08 14:57:42 +01:00
juce_ApplicationCommandManager.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ApplicationCommandTarget.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_ApplicationCommandTarget.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_KeyPressMappingSet.cpp XmlElement: Update loops to use new iterators 2021-01-28 20:14:11 +00:00
juce_KeyPressMappingSet.h Updated all license headers 2020-06-29 08:30:22 +01:00