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_cairo_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_cairo_demo.c')
-rw-r--r-- | examples/pugl_cairo_demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_cairo_demo.c b/examples/pugl_cairo_demo.c index 3192183..f580540 100644 --- a/examples/pugl_cairo_demo.c +++ b/examples/pugl_cairo_demo.c @@ -230,7 +230,7 @@ main(int argc, char** argv) return logError("Failed to create window (%s)\n", puglStrerror(st)); } - puglShow(view, PUGL_SHOW_PASSIVE); + puglShow(view, PUGL_SHOW_RAISE); PuglFpsPrinter fpsPrinter = {puglGetTime(app.world)}; const double timeout = app.opts.continuous ? (1 / 60.0) : -1.0; |