From 9ff8df932a5de52852e2541064312ae294442f4a Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Sat, 10 Feb 2024 00:05:26 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_properties.h | 3 ++- include/SDL3/SDL_video.h | 11 ++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/include/SDL3/SDL_properties.h b/include/SDL3/SDL_properties.h index 0a2870b1c..80a01cc12 100644 --- a/include/SDL3/SDL_properties.h +++ b/include/SDL3/SDL_properties.h @@ -141,7 +141,8 @@ extern DECLSPEC void SDLCALL SDL_UnlockProperties(SDL_PropertiesID props); * Set a property on a set of properties with a cleanup function that is * called when the property is deleted * - * The cleanup function is also called if setting the property fails for any reason. + * The cleanup function is also called if setting the property fails for any + * reason. * * \param props the properties to modify * \param name the name of the property to modify diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index 808aeea33..bd290fc96 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -1028,7 +1028,8 @@ extern DECLSPEC SDL_Window *SDLCALL SDL_GetWindowParent(SDL_Window *window); * * The following read-only properties are provided by SDL: * - * - `SDL_PROP_WINDOW_SHAPE_POINTER`: the surface associated with a shaped window + * - `SDL_PROP_WINDOW_SHAPE_POINTER`: the surface associated with a shaped + * window * * On Android: * @@ -2125,12 +2126,16 @@ extern DECLSPEC int SDLCALL SDL_SetWindowHitTest(SDL_Window *window, SDL_HitTest /** * Set the shape of a transparent window. * - * This sets the alpha channel of a transparent window and any fully transparent areas are also transparent to mouse clicks. If you are using something besides the SDL render API, then you are responsible for setting the alpha channel of the window yourself. + * This sets the alpha channel of a transparent window and any fully + * transparent areas are also transparent to mouse clicks. If you are using + * something besides the SDL render API, then you are responsible for setting + * the alpha channel of the window yourself. * * The window must have been created with the SDL_WINDOW_TRANSPARENT flag. * * \param window the window - * \param shape the surface representing the shape of the window, or NULL to remove any current shape + * \param shape the surface representing the shape of the window, or NULL to + * remove any current shape * \returns 0 on success or a negative error code on failure; call * SDL_GetError() for more information. *