summaryrefslogtreecommitdiff
path: root/pugl_cairo_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl_cairo_test.c')
-rw-r--r--pugl_cairo_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl_cairo_test.c b/pugl_cairo_test.c
index bd97668..9c1bef8 100644
--- a/pugl_cairo_test.c
+++ b/pugl_cairo_test.c
@@ -166,6 +166,7 @@ main(int argc, char** argv)
puglShowWindow(view);
while (!quit) {
+ puglWaitForEvent(view);
puglProcessEvents(view);
}