aboutsummaryrefslogtreecommitdiffstats
path: root/test/pugl_cairo_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-23 19:58:10 +0200
committerDavid Robillard <d@drobilla.net>2019-09-03 08:34:38 +0200
commite5481cb32b6e63881670c885fb659ef5e0b4a7bf (patch)
tree52d43d18f7ca049277e75973ef5fc0ef704c3ece /test/pugl_cairo_test.c
parent816607027012de0205e144f3edd3fdcfd43db563 (diff)
downloadpugl-e5481cb32b6e63881670c885fb659ef5e0b4a7bf.tar.gz
pugl-e5481cb32b6e63881670c885fb659ef5e0b4a7bf.tar.bz2
pugl-e5481cb32b6e63881670c885fb659ef5e0b4a7bf.zip
Make pugl_test use a nested view and test focus and movement
Diffstat (limited to 'test/pugl_cairo_test.c')
-rw-r--r--test/pugl_cairo_test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c
index 20a96e7..f339abd 100644
--- a/test/pugl_cairo_test.c
+++ b/test/pugl_cairo_test.c
@@ -207,9 +207,8 @@ main(int argc, char** argv)
world = puglNewWorld();
- const PuglRect frame = { 0, 0, 512, 512 };
-
- PuglView* view = puglNewView(world);
+ PuglRect frame = { 0, 0, 512, 512 };
+ PuglView* view = puglNewView(world);
puglInitWindowClass(view, "PuglCairoTest");
puglSetFrame(view, frame);
puglInitWindowMinSize(view, 256, 256);