aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 4cf4d7f..51c86a1 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -740,7 +740,7 @@ puglLeaveContext(PuglView* view, bool drawing);
/**
A function called when an event occurs.
*/
-typedef void (*PuglEventFunc)(PuglView* view, const PuglEvent* event);
+typedef PuglStatus (*PuglEventFunc)(PuglView* view, const PuglEvent* event);
/**
Set the function to call when an event occurs.