Mac: Fix relative mode message after gaining focus.

This fixes a bug where relative mode would give a large jump if the
cursor was moved when the app doesn't have focus.

--HG--
extra : histedit_source : ff1b20a9e7f6e079c073c4ef761566b6c80b0f22%2C9879c6c838c69afea4aa2be80cbe137054600d12
This commit is contained in:
Jørgen P. Tjernø 2013-04-25 18:40:29 -07:00
parent 22358fddd1
commit 9e4a519493
3 changed files with 32 additions and 3 deletions

View file

@ -73,6 +73,9 @@ typedef struct
SDL_Cursor *def_cursor;
SDL_Cursor *cur_cursor;
SDL_bool cursor_shown;
/* Driver-dependent data. */
void *driverdata;
} SDL_Mouse;