SDL_X11EventHook

A callback to be used with SDL_SetX11EventHook.

This callback may modify the event, and should return true if the event should continue to be processed, or false to prevent further processing.

As this is processing an event directly from the X11 event loop, this callback should do the minimum required work and return quickly.

version(Posix)
extern (C) nothrow @nogc
alias SDL_X11EventHook = bool function

Return Value

true to let event continue on, false to drop it.

Threadsafety: This may only be called (by SDL) from the thread handling the X11 event loop.

See Also

Meta