Skip to content

Commit

Permalink
Linux cursor show and hide. (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Lally authored Sep 2, 2022
1 parent b1e92f1 commit 68fa5b3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 68fa5b3

Please sign in to comment.