|
@@ -434,7 +434,10 @@ error:
|
|
static bool WIN_ShowCursor(SDL_Cursor *cursor)
|
|
static bool WIN_ShowCursor(SDL_Cursor *cursor)
|
|
{
|
|
{
|
|
if (!cursor) {
|
|
if (!cursor) {
|
|
- cursor = SDL_blank_cursor;
|
|
|
|
|
|
+ if (GetSystemMetrics(SM_REMOTESESSION)) {
|
|
|
|
+ // Use a blank cursor so we continue to get relative motion over RDP
|
|
|
|
+ cursor = SDL_blank_cursor;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if (cursor) {
|
|
if (cursor) {
|
|
if (cursor->internal->surface) {
|
|
if (cursor->internal->surface) {
|