mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
macOS: Only apply recent gl fix to shared windows and not to all of them
This commit is contained in:
parent
afd28b2c57
commit
aec8c367fe
1 changed files with 1 additions and 1 deletions
|
|
@ -702,7 +702,7 @@ public:
|
|||
|
||||
void redirectWillMoveToWindow (NSWindow* newWindow)
|
||||
{
|
||||
if ([view window] == window && newWindow == nullptr)
|
||||
if (isSharedWindow && [view window] == window && newWindow == nullptr)
|
||||
{
|
||||
if (auto* comp = safeComponent.get())
|
||||
comp->setVisible (false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue