mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-13 15:23:34 +00:00
docs: Note that Windows might block SDL_PollEvent() on window drag.
Reference Issue #13435.
This commit is contained in:
@@ -1260,6 +1260,13 @@ extern SDL_DECLSPEC void SDLCALL SDL_FlushEvents(Uint32 minType, Uint32 maxType)
|
||||
* }
|
||||
* ```
|
||||
*
|
||||
* Note that Windows (and possibly other platforms) has a quirk about how it
|
||||
* handles events while dragging/resizing a window, which can cause this
|
||||
* function to block for significant amounts of time. Technical explanations
|
||||
* and solutions are discussed on the wiki:
|
||||
*
|
||||
* https://wiki.libsdl.org/SDL3/AppFreezeDuringDrag
|
||||
*
|
||||
* \param event the SDL_Event structure to be filled with the next event from
|
||||
* the queue, or NULL.
|
||||
* \returns true if this got an event or false if there are none available.
|
||||
|
||||
Reference in New Issue
Block a user