diff options
author | David Robillard <d@drobilla.net> | 2023-01-09 12:11:33 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-09 12:11:33 -0500 |
commit | 4e81c178ed8665c2f37fd6f3a35cd1a31598bc8d (patch) | |
tree | 575ffc3b79424a44f5acd76ba3a156a1c49e15b3 /test/test_stub.c | |
parent | 87af385d3846d83a6e45f92c391265548a225964 (diff) | |
download | pugl-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_stub.c')
-rw-r--r-- | test/test_stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_stub.c b/test/test_stub.c index 06abeb4..26affbe 100644 --- a/test/test_stub.c +++ b/test/test_stub.c @@ -52,7 +52,7 @@ main(int argc, char** argv) puglSetBackend(test.view, puglStubBackend()); 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) { |