From 36f6b98f6835ed2a93d29f4937ac4d9cfd87a485 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 19 Aug 2020 16:04:24 +0300 Subject: Manage mouse cursors at window level The modal sheets switch mouse cursor to the default arrow. --- src/ui/widget.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/widget.c') diff --git a/src/ui/widget.c b/src/ui/widget.c index 1c19b70f..135eb267 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c @@ -454,6 +454,7 @@ iBool processEvent_Widget(iWidget *d, const SDL_Event *ev) { } } if (d->flags & mouseModal_WidgetFlag && isMouseEvent_(ev)) { + setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_ARROW); return iTrue; } return iFalse; -- cgit v1.2.3