Wed, 24 Apr 2013 12:20:51 -0700Move cursor into window when enabling relative mode or gaining focus in relative mode.
Jørgen P. Tjernø [Wed, 24 Apr 2013 12:20:51 -0700] rev 7107
Move cursor into window when enabling relative mode or gaining focus in relative mode.

This prevents wonky behavior where the clicks won't go to the window
because the cursor was outside it when we enabled relative mode.

Wed, 24 Apr 2013 12:20:48 -0700Mac: Update mouse position on warp.
Jørgen P. Tjernø [Wed, 24 Apr 2013 12:20:48 -0700] rev 7106
Mac: Update mouse position on warp.

Wed, 24 Apr 2013 12:20:44 -0700Test plan for relative mode.
Jørgen P. Tjernø [Wed, 24 Apr 2013 12:20:44 -0700] rev 7105
Test plan for relative mode.

Wed, 24 Apr 2013 10:42:44 -0700Add SDL_GetDefaultCursor.
Jørgen P. Tjernø [Wed, 24 Apr 2013 10:42:44 -0700] rev 7104
Add SDL_GetDefaultCursor.

This fixes http://bugzilla.libsdl.org/show_bug.cgi?id=1798
Thanks to Alex Szpakowski for suggestion & patch.

Wed, 24 Apr 2013 12:22:08 -0300Bug 1787 - memory leak in WIN_InitMouse() by Marcel Bakker
Gabriel Jacobo [Wed, 24 Apr 2013 12:22:08 -0300] rev 7103
Bug 1787 - memory leak in WIN_InitMouse() by Marcel Bakker

Wed, 24 Apr 2013 11:49:52 -0300Bug 1786 - memory leak in WIN_GetDisplayModes by Marcel Bakker
Gabriel Jacobo [Wed, 24 Apr 2013 11:49:52 -0300] rev 7102
Bug 1786 - memory leak in WIN_GetDisplayModes by Marcel Bakker

Tue, 23 Apr 2013 20:45:49 -0700Fix double free in video test suite
Andreas Schiffler [Tue, 23 Apr 2013 20:45:49 -0700] rev 7101
Fix double free in video test suite

Tue, 23 Apr 2013 18:47:44 -0700Mac: Fix cursor not updating when re-focusing the window.
Jørgen P. Tjernø [Tue, 23 Apr 2013 18:47:44 -0700] rev 7100
Mac: Fix cursor not updating when re-focusing the window.

This fixes a bug where [NSCursor set] doesn't take when called in
certain event handlers (like windowDidBecomeKey:).

http://bugzilla.libsdl.org/show_bug.cgi?id=1795

Tue, 23 Apr 2013 18:47:41 -0700Mac: Fix unmatched hide/show cursor calls.
Jørgen P. Tjernø [Tue, 23 Apr 2013 18:47:41 -0700] rev 7099
Mac: Fix unmatched hide/show cursor calls.

This tracks the previous hide/unhide state of the cursor, so we don't
re-hide a hidden cursor.

Tue, 23 Apr 2013 18:47:38 -0700Mac: Make mouse movement smooth at edge of window when grabbed.
Jørgen P. Tjernø [Tue, 23 Apr 2013 18:47:38 -0700] rev 7098
Mac: Make mouse movement smooth at edge of window when grabbed.

There's a limit of one update every 250ms when warping the mouse, and we
can work around that by disassociating the cursor & the mouse before
issuing our warp, then re-associating them.