# SDL: Fixed an inaccuracy in the documentation for SDL\_PenProximityEvent and SDL\_PenMotionEvent

**URL:** <https://discourse.libsdl.org/t/sdl-fixed-an-inaccuracy-in-the-documentation-for-sdl-penproximityevent-and-sdl-penmotionevent/56095>\
**Category:** SDL Commits\
**Created:** [December 18, 2024, 9:02pm UTC](https://discourse.libsdl.org/t/sdl-fixed-an-inaccuracy-in-the-documentation-for-sdl-penproximityevent-and-sdl-penmotionevent/56095 "2024-12-18T21:02:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [December 18, 2024, 9:02pm UTC](https://discourse.libsdl.org/t/sdl-fixed-an-inaccuracy-in-the-documentation-for-sdl-penproximityevent-and-sdl-penmotionevent/56095/1 "2024-12-18T21:02:16Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/0ca8027205b36bdba2adaf91f0cfe7153ed24aac>

```diff
From 0ca8027205b36bdba2adaf91f0cfe7153ed24aac Mon Sep 17 00:00:00 2001
From: Eduard Gushchin <[EMAIL REDACTED]>
Date: Wed, 18 Dec 2024 23:43:53 +0300
Subject: [PATCH] Fixed an inaccuracy in the documentation for
 SDL_PenProximityEvent and SDL_PenMotionEvent

---
 include/SDL3/SDL_events.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/SDL3/SDL_events.h b/include/SDL3/SDL_events.h
index c55154bea0e0c..9dedf0e9c7c05 100644
--- a/include/SDL3/SDL_events.h
+++ b/include/SDL3/SDL_events.h
@@ -797,7 +797,7 @@ typedef struct SDL_PenProximityEvent
     SDL_EventType type; /**< SDL_EVENT_PEN_PROXIMITY_IN or SDL_EVENT_PEN_PROXIMITY_OUT */
     Uint32 reserved;
     Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
- SDL_WindowID windowID; /**< The window with mouse focus, if any */
+ SDL_WindowID windowID; /**< The window with pen focus, if any */
     SDL_PenID which; /**< The pen instance id */
 } SDL_PenProximityEvent;
 
@@ -817,7 +817,7 @@ typedef struct SDL_PenMotionEvent
     SDL_EventType type; /**< SDL_EVENT_PEN_MOTION */
     Uint32 reserved;
     Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
- SDL_WindowID windowID; /**< The window with mouse focus, if any */
+ SDL_WindowID windowID; /**< The window with pen focus, if any */
     SDL_PenID which; /**< The pen instance id */
     SDL_PenInputFlags pen_state; /**< Complete pen input state at time of event */
     float x; /**< X coordinate, relative to window */

```
