diff --git a/defos/src/defos_mac.mm b/defos/src/defos_mac.mm index db0056a..061928c 100644 --- a/defos/src/defos_mac.mm +++ b/defos/src/defos_mac.mm @@ -633,6 +633,10 @@ - (void)mouseEntered:(NSEvent *)event { is_mouse_in_view = true; if (!is_cursor_clipped) { defos_emit_event(DEFOS_EVENT_MOUSE_ENTER); + if (!is_cursor_visible) { + [NSCursor unhide]; // Work around a macOS bug? + [NSCursor hide]; + } } } - (void)mouseExited:(NSEvent *)event {