Skip to content

Commit

Permalink
[osx] Fix window's setVisible(true)
Browse files Browse the repository at this point in the history
  • Loading branch information
martincapello committed Nov 15, 2024
1 parent 5ec00f5 commit a1c113a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions os/osx/window.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit a1c113a

Please sign in to comment.