aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pugl_cursor_demo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/pugl_cursor_demo.c b/examples/pugl_cursor_demo.c
index 03ab5da..4953682 100644
--- a/examples/pugl_cursor_demo.c
+++ b/examples/pugl_cursor_demo.c
@@ -111,6 +111,9 @@ onEvent(PuglView* view, const PuglEvent* event)
case PUGL_EXPOSE:
onExpose();
break;
+ case PUGL_POINTER_OUT:
+ puglSetCursor(view, PUGL_CURSOR_ARROW);
+ break;
case PUGL_CLOSE:
app->quit = 1;
break;