Linux cursor show and hide. (#149)

This commit is contained in:
Tom Lally 2022-09-02 14:16:35 +01:00 committed by GitHub
parent b1e92f1779
commit 68fa5b32a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1176,7 +1176,14 @@ void MainWindow::ShowCursor(bool state)
} while (counter >= 0);
}
#else
cemuLog_log(LogType::Force, "MainWindow::ShowCursor - todo");
if (state)
{
wxSetCursor(wxNullCursor); // restore system default cursor
}
else
{
wxSetCursor(wxCursor(wxCURSOR_BLANK));
}
#endif
}