aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_embed_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-10 15:25:02 -0500
committerDavid Robillard <d@drobilla.net>2023-01-11 03:28:10 -0500
commit569ad0408d5db4911b20138a46cde8f6912d8291 (patch)
tree87d813a4d7ecd0d3de954f65e1efd0122c96696d /examples/pugl_embed_demo.c
parente554f8c5ea5f812e7e0ce7d5c99129370c4c595a (diff)
downloadpugl-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_embed_demo.c')
-rw-r--r--examples/pugl_embed_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c
index 3b80110..7efba81 100644
--- a/examples/pugl_embed_demo.c
+++ b/examples/pugl_embed_demo.c
@@ -304,8 +304,8 @@ main(int argc, char** argv)
return logError("Failed to create child window (%s)\n", puglStrerror(st));
}
- puglShow(app.parent, PUGL_SHOW_PASSIVE);
- puglShow(app.child, PUGL_SHOW_PASSIVE);
+ puglShow(app.parent, PUGL_SHOW_RAISE);
+ puglShow(app.child, PUGL_SHOW_RAISE);
puglStartTimer(app.child, reverseTimerId, 3.6);