aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_print_events.c
diff options
context:
space:
mode:
authorJordan Halase <jordan@halase.me>2020-10-14 15:00:20 -0500
committerDavid Robillard <d@drobilla.net>2020-10-16 18:23:00 +0200
commit4ee94da48280307297a9fba720d4cb692f8d5c3f (patch)
tree8f91e3768cd4ba23b9ea577ef26e819c5147d363 /examples/pugl_print_events.c
parent418a24f8875135c7fb6669fe1eee3887097c93d8 (diff)
downloadpugl-4ee94da48280307297a9fba720d4cb692f8d5c3f.tar.gz
pugl-4ee94da48280307297a9fba720d4cb692f8d5c3f.tar.bz2
pugl-4ee94da48280307297a9fba720d4cb692f8d5c3f.zip
Set a default size in pugl_print_events
Diffstat (limited to 'examples/pugl_print_events.c')
-rw-r--r--examples/pugl_print_events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pugl_print_events.c b/examples/pugl_print_events.c
index 3a5f6a7..95ac440 100644
--- a/examples/pugl_print_events.c
+++ b/examples/pugl_print_events.c
@@ -59,6 +59,7 @@ main(void)
puglSetClassName(app.world, "Pugl Print Events");
puglSetWindowTitle(app.view, "Pugl Event Printer");
+ puglSetDefaultSize(app.view, 512, 512);
puglSetBackend(app.view, puglStubBackend());
puglSetHandle(app.view, &app);
puglSetEventFunc(app.view, onEvent);