aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_redisplay.c1
-rw-r--r--test/test_show_hide.c1
-rw-r--r--test/test_timer.c1
-rw-r--r--test/test_update.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/test_redisplay.c b/test/test_redisplay.c
index 13f0c81..0e14cf6 100644
--- a/test/test_redisplay.c
+++ b/test/test_redisplay.c
@@ -111,6 +111,7 @@ main(int argc, char** argv)
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);
+ puglSetDefaultSize(app.view, 512, 512);
// Create and show window
assert(!puglRealize(app.view));
diff --git a/test/test_show_hide.c b/test/test_show_hide.c
index 43af7f4..7b6d4f4 100644
--- a/test/test_show_hide.c
+++ b/test/test_show_hide.c
@@ -115,6 +115,7 @@ main(int argc, char** argv)
puglSetBackend(test.view, puglStubBackend());
puglSetHandle(test.view, &test);
puglSetEventFunc(test.view, onEvent);
+ puglSetDefaultSize(test.view, 512, 512);
// Create initially invisible window
assert(!puglRealize(test.view));
diff --git a/test/test_timer.c b/test/test_timer.c
index f26928d..2a0b67f 100644
--- a/test/test_timer.c
+++ b/test/test_timer.c
@@ -109,6 +109,7 @@ main(int argc, char** argv)
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);
+ puglSetDefaultSize(app.view, 512, 512);
// Create and show window
assert(!puglRealize(app.view));
diff --git a/test/test_update.c b/test/test_update.c
index 6dccf00..65d74d6 100644
--- a/test/test_update.c
+++ b/test/test_update.c
@@ -101,6 +101,7 @@ main(int argc, char** argv)
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);
+ puglSetDefaultSize(app.view, 512, 512);
// Create and show window
assert(!puglRealize(app.view));