aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cairo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-09 12:11:33 -0500
committerDavid Robillard <d@drobilla.net>2023-01-09 12:11:33 -0500
commit4e81c178ed8665c2f37fd6f3a35cd1a31598bc8d (patch)
tree575ffc3b79424a44f5acd76ba3a156a1c49e15b3 /test/test_cairo.c
parent87af385d3846d83a6e45f92c391265548a225964 (diff)
downloadpugl-4e81c178ed8665c2f37fd6f3a35cd1a31598bc8d.tar.gz
pugl-4e81c178ed8665c2f37fd6f3a35cd1a31598bc8d.tar.bz2
pugl-4e81c178ed8665c2f37fd6f3a35cd1a31598bc8d.zip
Raise test windows initially
This seems to make thing a bit more reliable, and matches what was happening before the addition of more precise show commands.
Diffstat (limited to 'test/test_cairo.c')
-rw-r--r--test/test_cairo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_cairo.c b/test/test_cairo.c
index e2d0089..70f0f11 100644
--- a/test/test_cairo.c
+++ b/test/test_cairo.c
@@ -66,7 +66,7 @@ main(int argc, char** argv)
puglSetBackend(test.view, puglCairoBackend());
puglSetEventFunc(test.view, onEvent);
puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 512, 512);
- puglShow(test.view, PUGL_SHOW_PASSIVE);
+ puglShow(test.view, PUGL_SHOW_RAISE);
// Drive event loop until the view gets exposed
while (!test.exposed) {