Browse Source

Removed activateIgnoringOtherApps call in macOS shutdown code to avoid JUCE stealing keyboard focus from other apps

tags/2021-05-28
hogliux 8 years ago
parent
commit
c8f8f81302
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      modules/juce_events/native/juce_mac_MessageManager.mm

+ 0
- 1
modules/juce_events/native/juce_mac_MessageManager.mm View File

@@ -261,7 +261,6 @@ void MessageManager::runDispatchLoop()
static void shutdownNSApp()
{
[NSApp stop: nil];
[NSApp activateIgnoringOtherApps: YES]; // (if the app is inactive, it sits there and ignores the quit request until the next time it gets activated)
[NSEvent startPeriodicEventsAfterDelay: 0 withPeriod: 0.1];
}


Loading…
Cancel
Save