haiku: mouse->ShowMouse method added

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

No files matched your search

+1 -1
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();
}