aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_cursor.c')
-rw-r--r--test/test_cursor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_cursor.c b/test/test_cursor.c
index 9b0fa66..399f797 100644
--- a/test/test_cursor.c
+++ b/test/test_cursor.c
@@ -5,10 +5,10 @@
#undef NDEBUG
-#include "test_utils.h"
+#include <puglutil/test_utils.h>
-#include "pugl/pugl.h"
-#include "pugl/stub.h"
+#include <pugl/pugl.h>
+#include <pugl/stub.h>
#include <assert.h>
#include <stdbool.h>
@@ -52,7 +52,7 @@ main(int argc, char** argv)
puglSetBackend(test.view, puglStubBackend());
puglSetEventFunc(test.view, onEvent);
puglSetSizeHint(test.view, PUGL_DEFAULT_SIZE, 256, 256);
- puglSetPosition(test.view, 896, 640);
+ puglSetPositionHint(test.view, PUGL_DEFAULT_POSITION, 896, 640);
puglShow(test.view, PUGL_SHOW_RAISE);
// Drive event loop until the view gets exposed