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_show_hide.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_show_hide.c')
-rw-r--r-- | test/test_show_hide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_show_hide.c b/test/test_show_hide.c index 4418da3..7b410f4 100644 --- a/test/test_show_hide.c +++ b/test/test_show_hide.c @@ -86,7 +86,7 @@ showHide(PuglTest* const test) { // Show and hide window a couple of times for (unsigned i = 0U; i < 2U; ++i) { - assert(!puglShow(test->view, PUGL_SHOW_PASSIVE)); + assert(!puglShow(test->view, PUGL_SHOW_RAISE)); while (test->state != EXPOSED) { tick(test->world); } |