From 7559acaf75129ddc37e0e301e2db93bd065a9b59 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Fri, 3 May 2024 16:34:33 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_hints.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/include/SDL3/SDL_hints.h b/include/SDL3/SDL_hints.h index c8f12ce036..15e8e60d10 100644 --- a/include/SDL3/SDL_hints.h +++ b/include/SDL3/SDL_hints.h @@ -2995,21 +2995,22 @@ extern "C" { #define SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR "SDL_VIDEO_WAYLAND_ALLOW_LIBDECOR" /** - * Enable or disable hidden mouse pointer warp emulation, needed by some older games. + * Enable or disable hidden mouse pointer warp emulation, needed by some older + * games. * * Wayland requires the pointer confinement protocol to warp the mouse, but * that is just a hint that the compositor is free to ignore, and warping the * the pointer to or from regions outside of the focused window is prohibited. - * When this hint is set and the pointer is hidden, SDL will emulate mouse warps - * using relative mouse mode. This is required for some older games (such as Source - * engine games), which warp the mouse to the centre of the screen rather than using - * relative mouse motion. Note that relative mouse mode may have different mouse - * acceleration behaviour than pointer warps. + * When this hint is set and the pointer is hidden, SDL will emulate mouse + * warps using relative mouse mode. This is required for some older games + * (such as Source engine games), which warp the mouse to the centre of the + * screen rather than using relative mouse motion. Note that relative mouse + * mode may have different mouse acceleration behaviour than pointer warps. * * The variable can be set to the following values: * * - "0": Attempts to warp the mouse will be made, if the appropriate protocol - * is available. + * is available. * - "1": Some mouse warps will be emulated by forcing relative mouse mode. * * If not set, this is automatically enabled unless an application uses