Fix minor typos inside documentation as per copilot's review

This commit is contained in:
Sooly890 2026-09-02 09:56:11 +12:00
parent 0d77d9a544
commit c7de15d677
No known key found for this signature in database
GPG key ID: 56CBDEA30B5C8DA2
3 changed files with 4 additions and 3 deletions

View file

@ -120,7 +120,7 @@ information on what to include when reporting a bug.
## Changelog since 3.5
- Added `GLFW_X11_OVERRIDE_REDIRECT` window hint to bypass window managers taking control of a window when undesired
- Added the `GLFW_X11_OVERRIDE_REDIRECT` window hint to bypass window manager control of a window when needed.
## Contact

View file

@ -7,7 +7,7 @@
### X11 override redirect on window creation
GLFW now provides the @ref GLFW_X11_OVERRIDE_REDIRECT_hint window hint to set override redirect on window creation.
GLFW now provides the @ref GLFW_X11_OVERRIDE_REDIRECT_hint window hint to set override-redirect on window creation.
## Caveats {#caveats}

View file

@ -529,7 +529,7 @@ hints need to be set to something other than an empty string for them to take ef
These are set with @ref glfwWindowHintString.
@anchor GLFW_X11_OVERRIDE_REDIRECT_hint
**GLFW_X11_OVERRIDE_REDIRECT** bypasses the window manager's control over a window. This is useful when a window needs to get around window manager's usage of a window (such as i3, which is extremely strict on where windows go). Accepted values are `GLFW_TRUE` and `GLFW_FALSE`.
__GLFW_X11_OVERRIDE_REDIRECT__ bypasses the window manager's control for the created window (ICCCM override-redirect). This is set with @ref glfwWindowHint. Accepted values are `GLFW_TRUE` and `GLFW_FALSE`.
#### Supported and default values {#window_hints_values}
@ -582,6 +582,7 @@ GLFW_COCOA_GRAPHICS_SWITCHING | `GLFW_FALSE` | `GLFW_TRUE` or `GL
GLFW_WAYLAND_APP_ID | `""` | An ASCII encoded Wayland `app_id` name
GLFW_X11_CLASS_NAME | `""` | An ASCII encoded `WM_CLASS` class name
GLFW_X11_INSTANCE_NAME | `""` | An ASCII encoded `WM_CLASS` instance name
GLFW_X11_OVERRIDE_REDIRECT | `GLFW_FALSE` | `GLFW_TRUE` or `GLFW_FALSE`
## Window event processing {#window_events}