|
@@ -250,7 +250,10 @@ static void WIN_FreeCursor(SDL_Cursor *cursor)
|
|
static int WIN_ShowCursor(SDL_Cursor *cursor)
|
|
static int 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) {
|
|
SDL_cursor = (HCURSOR)cursor->driverdata;
|
|
SDL_cursor = (HCURSOR)cursor->driverdata;
|