haiku: mouse->ShowMouse method added

Partially fixes Bugzilla #4442.
This commit is contained in:
Peter Kosyh
2019-11-11 22:22:40 -05:00
parent 95a402d745
commit 79510b7569
2 changed files with 31 additions and 1 deletions

View File

@@ -244,7 +244,7 @@ private:
be_app->HideCursor();
} else {
SDL_SendMouseMotion(win, 0, 0, x, y);
if (be_app->IsCursorHidden())
if (SDL_ShowCursor(-1) && be_app->IsCursorHidden())
be_app->ShowCursor();
}