aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-21 17:03:28 +0200
committerDavid Robillard <d@drobilla.net>2019-07-21 17:24:42 +0200
commit35c050fb64f98bdc2be0f779d40eb582ff6b8c97 (patch)
tree1fbf509eb9364c9645537b79bdc8a211d87c7db2
parent20114f1ef0b7e4c75417c7a6423684260e91d206 (diff)
Set title and minimum size for pugl_cairo_test window
-rw-r--r--pugl_cairo_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl_cairo_test.c b/pugl_cairo_test.c
index 9480560..3837d48 100644
--- a/pugl_cairo_test.c
+++ b/pugl_cairo_test.c
@@ -181,7 +181,9 @@ main(int argc, char** argv)
}
PuglView* view = puglInit(NULL, NULL);
+ puglInitWindowClass(view, "PuglCairoTest");
puglInitWindowSize(view, 512, 512);
+ puglInitWindowMinSize(view, 256, 256);
puglInitResizable(view, resizable);
puglInitContextType(view, PUGL_CAIRO);