From e5481cb32b6e63881670c885fb659ef5e0b4a7bf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 23 Jul 2019 19:58:10 +0200 Subject: Make pugl_test use a nested view and test focus and movement --- test/pugl_cairo_test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/pugl_cairo_test.c') 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); -- cgit v1.2.1