aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_show_hide.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-08 01:02:07 -0500
committerDavid Robillard <d@drobilla.net>2023-01-08 01:06:37 -0500
commit92b5ab6bdfc8450ed3c4e4e7006cee949386dcd4 (patch)
treeaa91ae18efac00651f73efef51173edbcc00489f /test/test_show_hide.c
parent14b35ef217f5ee387c4f33b1b24bebb015e18f23 (diff)
downloadpugl-92b5ab6bdfc8450ed3c4e4e7006cee949386dcd4.tar.gz
pugl-92b5ab6bdfc8450ed3c4e4e7006cee949386dcd4.tar.bz2
pugl-92b5ab6bdfc8450ed3c4e4e7006cee949386dcd4.zip
Add support for raising windows
Diffstat (limited to 'test/test_show_hide.c')
-rw-r--r--test/test_show_hide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_show_hide.c b/test/test_show_hide.c
index 6664a1e..4418da3 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));
+ assert(!puglShow(test->view, PUGL_SHOW_PASSIVE));
while (test->state != EXPOSED) {
tick(test->world);
}