diff options
author | David Robillard <d@drobilla.net> | 2023-01-10 15:25:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-11 03:28:10 -0500 |
commit | 569ad0408d5db4911b20138a46cde8f6912d8291 (patch) | |
tree | 87d813a4d7ecd0d3de954f65e1efd0122c96696d /examples/pugl_management_demo.c | |
parent | e554f8c5ea5f812e7e0ce7d5c99129370c4c595a (diff) | |
download | pugl-569ad0408d5db4911b20138a46cde8f6912d8291.tar.gz pugl-569ad0408d5db4911b20138a46cde8f6912d8291.tar.bz2 pugl-569ad0408d5db4911b20138a46cde8f6912d8291.zip |
Raise the initial display of example windows
This is the standard behaviour for applications.
Diffstat (limited to 'examples/pugl_management_demo.c')
-rw-r--r-- | examples/pugl_management_demo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_management_demo.c b/examples/pugl_management_demo.c index 87b4e09..ec2805b 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, PUGL_SHOW_PASSIVE); + return puglShow(app->dialogView.view, PUGL_SHOW_RAISE); } 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, PUGL_SHOW_PASSIVE); + puglShow(app.mainView.view, PUGL_SHOW_RAISE); while (!app.quit) { puglUpdate(app.world, -1.0); |