aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Halase <jordan@halase.me>2020-10-14 15:01:00 -0500
committerJordan Halase <jordan@halase.me>2020-10-14 15:01:00 -0500
commit95bbde03588d6f7205af06b914c5721dd02fa07a (patch)
tree7662809cae182073e91936f409350874377b5c99
parentfed1b5aa14b211bb2e098fe66fd01c00574eb28e (diff)
Fix cursor persisting into titlebar (Windows)HEADmaster
-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;