SDL_PenButtonEvent.windowID

< The window with mouse focus, if any

struct SDL_PenButtonEvent
SDL_WindowID windowID;

Meta