The function now returns 0 which is the same as if no effects were supported.
This may be confusing in rare situations but will not matter most of the time.
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
By default, synthesizing events supresses real events for a quarter
second. This makes for some wonky behavior.
--HG--
extra : histedit_source : 769156e3eba77c601de006c5aad1cdc1febe1d6c
This isn't working great, so undo it until we can fix it properly to save /
restore mouse positions.
--HG--
extra : histedit_source : d8fe81a1690bd9406df132c325c8dd7c61baec29%2C2243b548ccaec444b2e4bdab04ba67cdf236c4fb
Marcus von Appen
Trying to build SDL 2.x (HG) on Win32 platforms with either VS.NET or MinGW requires one to have the video subsystem and SDL_VIDEO_DRIVER_WINDOWS flag enabled due to the helper window creation routines.
The attached patch changes the helper window creation behaviour, so that one can build SDL2 without the video subsystem or Windows video drivers on Win32 platforms.
Marcus von Appen
If one wants to disable the SDL render subsystem, the build breaks on several platforms due to an empty render_drivers array in SDL_render.c.
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
--HG--
extra : histedit_source : 3f150addd3b1b7bc6397aba60ccf05f9065ffb8c
This tracks the previous hide/unhide state of the cursor, so we don't
re-hide a hidden cursor.
--HG--
extra : histedit_source : d41e30a604fb9ff0da8fcfdd9ca926618e35c750
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.
--HG--
extra : histedit_source : 91ddf6078107ea9faf1c769a459e99bce6e61180
This should hopefully fix bug #1612. We now send mousemotion events when
the cursor enters the window as well as when it leaves.
Thanks to Alex Szpakowski for the fix.
Fixes http://bugzilla.libsdl.org/show_bug.cgi?id=1612
--HG--
extra : histedit_source : e89e8952efcc07da98a306757edeaeded31517a9