diff options
author | David Robillard <d@drobilla.net> | 2023-01-11 11:10:19 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-11 11:10:19 -0500 |
commit | 94fec62ba519e3e846e02327a3ece0e6bcaa016b (patch) | |
tree | 14be8aa27868f2198194e39374b9ad4407960ace /test/test_realize.c | |
parent | 0f68cd00eb06ca1d7a4bdbb9e94ec060e784bd50 (diff) | |
download | pugl-94fec62ba519e3e846e02327a3ece0e6bcaa016b.tar.gz pugl-94fec62ba519e3e846e02327a3ece0e6bcaa016b.tar.bz2 pugl-94fec62ba519e3e846e02327a3ece0e6bcaa016b.zip |
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.
Diffstat (limited to 'test/test_realize.c')
-rw-r--r-- | test/test_realize.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_realize.c b/test/test_realize.c index 4bdafae..fcf106e 100644 --- a/test/test_realize.c +++ b/test/test_realize.c @@ -72,7 +72,8 @@ main(int argc, char** argv) puglSetBackend(test.view, puglStubBackend()); assert(puglRealize(test.view) == PUGL_BAD_CONFIGURATION); - puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 512, 512); + puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 256, 256); + puglSetPosition(test.view, 640, 128); // Create initially invisible window assert(!puglRealize(test.view)); |