mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-17 17:08:22 +00:00
SDL_SetCursor should not skip focus check
This commit is contained in:
@@ -1627,7 +1627,9 @@ bool SDL_SetCursor(SDL_Cursor *cursor)
|
||||
}
|
||||
}
|
||||
mouse->cur_cursor = cursor;
|
||||
} else if (mouse->focus) {
|
||||
}
|
||||
|
||||
if (mouse->focus) {
|
||||
cursor = mouse->cur_cursor;
|
||||
} else {
|
||||
cursor = mouse->def_cursor;
|
||||
|
||||
Reference in New Issue
Block a user