From 95bbde03588d6f7205af06b914c5721dd02fa07a Mon Sep 17 00:00:00 2001 From: Jordan Halase Date: Wed, 14 Oct 2020 15:01:00 -0500 Subject: Fix cursor persisting into titlebar (Windows) --- examples/pugl_cursor_demo.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.1