From a1c113aaa63ccf1e83024e283988e14da3ffba4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Capello?= Date: Fri, 15 Nov 2024 15:35:42 -0300 Subject: [PATCH] [osx] Fix window's setVisible(true) Fix aseprite/aseprite#4791 --- os/osx/window.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/osx/window.mm b/os/osx/window.mm index f93693443..1658845a1 100644 --- a/os/osx/window.mm +++ b/os/osx/window.mm @@ -511,6 +511,8 @@ - (void)noResponderFor:(SEL)eventSelector // returns YES). if (m_nsWindow.canBecomeMainWindow) [m_nsWindow makeMainWindow]; + else + [m_nsWindow setIsVisible:true]; } else { [m_nsWindow setIsVisible:false];