aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_print_events.c
diff options
context:
space:
mode:
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);