Linux cursor show and hide. (#149)

This commit is contained in:
Tom Lally
2022-09-02 15:16:35 +02:00
committed by GitHub
parent b1e92f1779
commit 68fa5b32a1
+8 -1
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
}