SDL_SetX11EventHook3
Set a callback for every x11 event.
Usage
#include "SDL3/SDL.h"
void SDL_SetX11EventHook(SDL_X11EventHook callback, void *userdata);
Header file
Defined in SDL3/SDL_system.h
Overview
The callback may modify the event, and should return true if the event should continue to be processed, or false to prevent further processing.
Function parameters
callback
|
the |
|---|---|
userdata
|
a pointer to pass to every iteration of |