diff options
author | David Robillard <d@drobilla.net> | 2019-07-23 19:58:10 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-09-03 08:34:38 +0200 |
commit | e5481cb32b6e63881670c885fb659ef5e0b4a7bf (patch) | |
tree | 52d43d18f7ca049277e75973ef5fc0ef704c3ece /test/pugl_cairo_test.c | |
parent | 816607027012de0205e144f3edd3fdcfd43db563 (diff) | |
download | pugl-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.c | 5 |
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); |