1
0
Fork 0
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:
hogliux 2018-05-16 11:59:27 +01:00
parent afd28b2c57
commit aec8c367fe

View file

@ -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);