aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_management_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_management_demo.c')
-rw-r--r--examples/pugl_management_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_management_demo.c b/examples/pugl_management_demo.c
index 6a62668..87b4e09 100644
--- a/examples/pugl_management_demo.c
+++ b/examples/pugl_management_demo.c
@@ -121,7 +121,7 @@ toggleDialog(DemoApp* const app)
puglSetWindowTitle(app->dialogView.view, "Dialog");
}
- return puglShow(app->dialogView.view);
+ return puglShow(app->dialogView.view, PUGL_SHOW_PASSIVE);
}
static PuglStatus
@@ -250,7 +250,7 @@ main(int argc, char** argv)
return logError("Failed to realize view (%s)\n", puglStrerror(st));
}
- puglShow(app.mainView.view);
+ puglShow(app.mainView.view, PUGL_SHOW_PASSIVE);
while (!app.quit) {
puglUpdate(app.world, -1.0);