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_cairo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/test_cairo.c') diff --git a/test/test_cairo.c b/test/test_cairo.c index 70f0f11..c64a9eb 100644 --- a/test/test_cairo.c +++ b/test/test_cairo.c @@ -65,7 +65,8 @@ main(int argc, char** argv) puglSetHandle(test.view, &test); puglSetBackend(test.view, puglCairoBackend()); puglSetEventFunc(test.view, onEvent); - puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 512, 512); + puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 256, 256); + puglSetPosition(test.view, 128, 896); puglShow(test.view, PUGL_SHOW_RAISE); // Drive event loop until the view gets exposed -- cgit v1.2.1