SDL-mirror/include
Ryan C. Gordon d6ffb03a60 Minor input grab clarifications.
Clarify that grabbing the mouse only works with one window at a time; this was
always true at the system level, though SDL could previously get confused
by multiple simultaneous grabs, so now we explicitly break any existing
grab before starting a new one and document it as such.

Also track the window that is currently grabbed, and provide an API to query
for that window. This makes it easy to automate mouse ungrabbing at
breakpoints with gdb7's scripting, since the scripts can now know which window
to ungrab.

In 2.1, we should probably change this API to SDL_GrabInput(win) and
SDL_UngrabInput(void), or something.

--HG--
extra : rebase_source : c99570ccdaeb40c13fb0b00236fc77669705a189
extra : amend_source : 40993aa08816ef218bc10aa5d3a2aaa84f284240
2015-03-28 00:48:03 -04:00
..
begin_code.h Fix compiler warnings in Native Client and Linux builds. 2014-06-20 11:10:16 -03:00
close_code.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL.h Rearrange documentation 2014-07-29 09:20:12 -03:00
SDL_assert.h Fixed naming conventions in some SDL_assert types, added compat #defines. 2015-02-21 00:33:25 -05:00
SDL_atomic.h Initial merge of Emscripten port! 2014-12-18 00:19:52 -05:00
SDL_audio.h Added audio device buffer queueing API. 2014-07-22 21:41:49 -04:00
SDL_bits.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_blendmode.h Corrected header file guard comments. 2014-11-25 22:37:12 +01:00
SDL_clipboard.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_config.h Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00
SDL_config.h.cmake CMake project files no longer force you to link against Wayland or Mir libs. 2015-03-20 10:35:42 -04:00
SDL_config.h.in Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation 2015-01-26 22:00:29 +01:00
SDL_config_android.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_iphoneos.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_macosx.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_minimal.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_config_pandora.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_psp.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_windows.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_config_winrt.h Fixed copyright date. 2014-12-28 22:10:24 +01:00
SDL_config_wiz.h Removed SDL_round() because the license wasn't compatible with zlib 2014-08-17 13:11:55 -07:00
SDL_copying.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_cpuinfo.h Fixed bug in AVX detection and added AVX2 detection 2014-07-11 22:02:50 -07:00
SDL_egl.h Fixed doxygen warnings and markdown formatting. 2014-08-12 23:28:45 +02:00
SDL_endian.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_error.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_events.h Added missing SDL_DOLLARRECORD event type documentation in header. 2015-03-21 22:42:53 +01:00
SDL_filesystem.h Corrected header file guard comments. 2014-11-25 22:37:12 +01:00
SDL_gamecontroller.h Corrected documentation about triggers values in SDL_GameControllerGetAxis(). 2015-02-18 16:25:15 -05:00
SDL_gesture.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_haptic.h Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification 2014-11-29 11:49:58 -08:00
SDL_hints.h * Improve mouse support in Android. These changes require Android API v12 to compile 2015-03-24 20:45:29 +01:00
SDL_joystick.h Fixed typo in header file documentation comment. 2014-11-23 11:26:46 +01:00
SDL_keyboard.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_keycode.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_loadso.h Back out changelist 1951976 2014-02-13 11:05:34 -08:00
SDL_log.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_main.h WinRT: hiding SDL_WinRTRunApp's XAML functionality, until it's ready for use 2014-12-24 11:33:42 -05:00
SDL_messagebox.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_mouse.h add in support for passing down the "natural" (or flipped) scrolling direction in the MouseWheelEvent event 2014-12-03 11:00:56 -05:00
SDL_mutex.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_name.h Added missing copyright notices 2014-03-13 21:21:26 -07:00
SDL_opengl.h Don't use the system OpenGL headers, ever. 2014-08-18 14:05:02 -04:00
SDL_opengl_glext.h Allow setting of GL_CONTEXT_RELEASE_BEHAVIOR when creating the GL context when GLX_ARB_context_flush_control is available. 2015-03-06 16:03:40 +00:00
SDL_opengles.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_opengles2.h Fixed doxygen warnings and markdown formatting. 2014-08-12 23:28:45 +02:00
SDL_opengles2_gl2.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_gl2ext.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_gl2platform.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_opengles2_khrplatform.h SDL_opengles2: Update to latest Khronos headers. 2014-06-04 01:35:36 -07:00
SDL_pixels.h Added NV12 and NV21 texture support for OpenGL and OpenGL ES 2.0 renderers 2014-08-06 11:34:54 -07:00
SDL_platform.h 2620 solaris port missing atomics if not using gcc 2014-07-05 16:11:23 -07:00
SDL_power.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_quit.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_rect.h Fixed using SDL_PointInRect() from C++. 2014-05-30 09:50:47 -04:00
SDL_render.h Fix typos in header file documentation comments. 2015-01-30 23:20:15 +01:00
SDL_revision.h
SDL_rwops.h The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL 2014-06-08 12:05:17 -07:00
SDL_scancode.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_shape.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_stdinc.h Fixed SDL_PRI?64 for 64-bit Linux. 2015-03-02 21:36:45 -05:00
SDL_surface.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_system.h Added and fixed doxygen markup in header file. 2015-01-12 23:20:52 +01:00
SDL_syswm.h Windows: Report window HDC in SDL_SysWMinfo. 2015-03-23 19:47:08 -04:00
SDL_test.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_assert.h Fixed typos in header file documentation comments. 2014-11-23 20:40:48 +01:00
SDL_test_common.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_compare.h Fix assert format strings/parameters in testautomation modules; improve output of SDL_CompareSurfaces to aid debugging; update platform_testSetErrorInvalidInput for SDL changes 2014-11-30 20:55:27 -08:00
SDL_test_crc32.h Fixed doxygen tags in header file documentation comments. 2014-11-23 20:46:34 +01:00
SDL_test_font.h Exposed the font character size and SDLTest_DrawCharacter() to make it easier to do custom debug text layout 2014-02-10 10:02:42 -08:00
SDL_test_fuzzer.h Fixed doxygen tags in header file documentation comments. 2014-11-23 20:46:34 +01:00
SDL_test_harness.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_images.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_test_log.h Added annotations to help code analysis tools 2014-06-04 10:56:56 -07:00
SDL_test_md5.h Fixed doxygen tags in header file documentation comments. 2014-11-23 20:46:34 +01:00
SDL_test_random.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_thread.h Fixed example in header file. 2014-09-06 23:20:14 +02:00
SDL_timer.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_touch.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_types.h Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_version.h Updated version to 2.0.4 2014-09-02 06:55:47 -07:00
SDL_video.h Minor input grab clarifications. 2015-03-28 00:48:03 -04:00