Linux cursor show and hide.

This commit is contained in:
Tom Lally 2022-09-02 11:43:01 +01:00
parent b1e92f1779
commit 4285b68cd8

View file

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