From 94fec62ba519e3e846e02327a3ece0e6bcaa016b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Jan 2023 11:10:19 -0500 Subject: Spread tests around the screen This makes it unlikely for tests to be completely obscured, which should hopefully make things a bit more consistent and reliable, especially when running all of the tests in parallel. It also makes things a bit less visually confusing. --- test/test_show_hide.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/test_show_hide.c') diff --git a/test/test_show_hide.c b/test/test_show_hide.c index 7b410f4..2709daf 100644 --- a/test/test_show_hide.c +++ b/test/test_show_hide.c @@ -114,7 +114,8 @@ main(int argc, char** argv) puglSetBackend(test.view, puglStubBackend()); puglSetHandle(test.view, &test); puglSetEventFunc(test.view, onEvent); - puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 512, 512); + puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 256, 256); + puglSetPosition(test.view, 128, 384); // Create initially invisible window assert(!puglRealize(test.view)); -- cgit v1.2.1