aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_clipboard_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_clipboard_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_clipboard_demo.c')
-rw-r--r--examples/pugl_clipboard_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_clipboard_demo.c b/examples/pugl_clipboard_demo.c
index 31bc7f6..d4ab50f 100644
--- a/examples/pugl_clipboard_demo.c
+++ b/examples/pugl_clipboard_demo.c
@@ -237,7 +237,7 @@ main(int argc, char** argv)
return logError("Failed to realize view (%s)\n", puglStrerror(st));
}
- if ((st = puglShow(view, PUGL_SHOW_PASSIVE))) {
+ if ((st = puglShow(view, PUGL_SHOW_RAISE))) {
return logError("Failed to show view (%s)\n", puglStrerror(st));
}