This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Window focus fix for OSX app builds.
tags/2021-05-28
jules
11 years ago
parent
3b88555140
commit
a0bcb86e08
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm
+ 3
- 1
modules/juce_gui_basics/native/juce_mac_NSViewComponentPeer.mm
View File
@@ -1136,7 +1136,9 @@ public:
bool isFocused() const override
{
return this == currentlyFocusedPeer;
return (isSharedWindow || ! JUCEApplication::isStandaloneApp())
? this == currentlyFocusedPeer
: [window isKeyWindow];
}
void grabFocus() override
Write
Preview
Loading…
Cancel
Save