| @@ -101,7 +101,7 @@ public: | |||||
| { | { | ||||
| mainWindow = createWindow(); | mainWindow = createWindow(); | ||||
| #if JUCE_IOS || JUCE_ANDROID | |||||
| #if JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE | |||||
| Desktop::getInstance().setKioskModeComponent (mainWindow, false); | Desktop::getInstance().setKioskModeComponent (mainWindow, false); | ||||
| #endif | #endif | ||||
| @@ -586,7 +586,6 @@ public: | |||||
| #if JUCE_IOS || JUCE_ANDROID | #if JUCE_IOS || JUCE_ANDROID | ||||
| setFullScreen (true); | setFullScreen (true); | ||||
| setContentOwned (new MainContentComponent (*this), false); | setContentOwned (new MainContentComponent (*this), false); | ||||
| Desktop::getInstance().setKioskModeComponent (this, false); | |||||
| #else | #else | ||||
| setContentOwned (new MainContentComponent (*this), true); | setContentOwned (new MainContentComponent (*this), true); | ||||
| @@ -91,5 +91,15 @@ | |||||
| #define JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS 1 | #define JUCE_USE_STUDIO_ONE_COMPATIBLE_PARAMETERS 1 | ||||
| #endif | #endif | ||||
| /** Config: JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE | |||||
| Enable this if you want your standalone plugin window to use kiosk mode. | |||||
| By default, kiosk mode is enabled on iOS and Android. | |||||
| */ | |||||
| #ifndef JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE | |||||
| #define JUCE_STANDALONE_FILTER_WINDOW_USE_KIOSK_MODE (JUCE_IOS || JUCE_ANDROID) | |||||
| #endif | |||||
| #include "utility/juce_PluginHostType.h" | #include "utility/juce_PluginHostType.h" | ||||
| #include "VST/juce_VSTCallbackHandler.h" | #include "VST/juce_VSTCallbackHandler.h" | ||||