1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Plugin Client: Respect requested layer-backedness of editor

This commit is contained in:
reuk 2023-03-08 14:51:31 +00:00 committed by reuk
parent 926bbda4fa
commit c5ddf64d16
10 changed files with 98 additions and 33 deletions

View file

@ -39,6 +39,7 @@
#include <juce_audio_plugin_client/juce_audio_plugin_client.h>
#include <juce_audio_plugin_client/utility/juce_CheckSettingMacros.h>
#include <juce_audio_plugin_client/utility/juce_PluginUtilities.h>
#include <juce_audio_plugin_client/utility/juce_LinuxMessageThread.h>
#include <juce_audio_processors/utilities/juce_FlagCache.h>
@ -1534,7 +1535,7 @@ public:
setOpaque (true);
setVisible (false);
removeFromDesktop();
addToDesktop (0, parent);
addToDesktop (detail::PluginUtilities::getDesktopFlags (editor.get()), parent);
editor->addComponentListener (this);
*widget = getWindowHandle();