aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index 7888c6c..ecf9373 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -526,12 +526,14 @@ void
puglShowWindow(PuglView* view)
{
[view->impl->window setIsVisible:YES];
+ view->visible = true;
}
void
puglHideWindow(PuglView* view)
{
[view->impl->window setIsVisible:NO];
+ view->visible = false;
}
void