diff options
author | David Robillard <d@drobilla.net> | 2025-02-08 16:49:06 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-02-08 18:02:30 -0500 |
commit | 1395c97015ac9d5069881a038f4272a426fda9e9 (patch) | |
tree | 9049ba724b9866701f9fd0330038cb6965792663 /test/test_stub_hints.c | |
parent | 23b0774862b79543b93a9b50b4f085c2c396698a (diff) | |
download | pugl-1395c97015ac9d5069881a038f4272a426fda9e9.tar.gz pugl-1395c97015ac9d5069881a038f4272a426fda9e9.tar.bz2 pugl-1395c97015ac9d5069881a038f4272a426fda9e9.zip |
Replace frame with size and position hints
Diffstat (limited to 'test/test_stub_hints.c')
-rw-r--r-- | test/test_stub_hints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_stub_hints.c b/test/test_stub_hints.c index a84577d..5c84dec 100644 --- a/test/test_stub_hints.c +++ b/test/test_stub_hints.c @@ -35,7 +35,7 @@ main(void) puglSetBackend(view, puglStubBackend()); puglSetEventFunc(view, onEvent); puglSetSizeHint(view, PUGL_DEFAULT_SIZE, 256, 256); - puglSetPosition(view, 640, 384); + puglSetPositionHint(view, PUGL_DEFAULT_POSITION, 640, 384); // Check invalid cases assert(puglSetViewHint(view, (PuglViewHint)-1, 0) == PUGL_BAD_PARAMETER); |