aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_x11.c')
-rw-r--r--pugl/pugl_x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index 5cd4373..4d7010b 100644
--- a/pugl/pugl_x11.c
+++ b/pugl/pugl_x11.c
@@ -347,12 +347,14 @@ void
puglShowWindow(PuglView* view)
{
XMapRaised(view->impl->display, view->impl->win);
+ view->visible = true;
}
void
puglHideWindow(PuglView* view)
{
XUnmapWindow(view->impl->display, view->impl->win);
+ view->visible = false;
}
void