mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-01-09 19:27:32 -03:00
Linux cursor show and hide. (#149)
This commit is contained in:
parent
b1e92f1779
commit
68fa5b32a1
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue