aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_show_hide.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_show_hide.c')
-rw-r--r--test/test_show_hide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_show_hide.c b/test/test_show_hide.c
index 6252c28..4280408 100644
--- a/test/test_show_hide.c
+++ b/test/test_show_hide.c
@@ -126,13 +126,13 @@ main(int argc, char** argv)
// Show and hide window a couple of times
for (unsigned i = 0u; i < 2u; ++i) {
- assert(!puglShowWindow(test.view));
+ assert(!puglShow(test.view));
while (test.state != EXPOSED) {
tick(test.world);
}
assert(puglGetVisible(test.view));
- assert(!puglHideWindow(test.view));
+ assert(!puglHide(test.view));
while (test.state != UNMAPPED) {
tick(test.world);
}