logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_SysWMEvent - Platform-dependent window manager event.

Description

       The  system  window  manager event contains a pointer to system-specific information about unknown window
       manager events. If you enable this event using SDL_EventState(), it will be generated whenever  unhandled
       events are received from the window manager. This can be used, for example, to implement cut-and-paste in
       your application.

       typedef struct {
                Uint8 type;   /* Always SDL_SysWM */
        } SDL_SysWMEvent;

        If  you  want  to  obtain system-specific information about the window manager, you can fill the version
       member of a SDL_SysWMinfo structure (details can be found in SDL_syswm.h, which must be  included)  using
       the SDL_VERSION() macro found in SDL_version.h, and pass it to the function:

       intSDL_GetWMInfo(SDL_SysWMinfo*info);

Name

       SDL_SysWMEvent - Platform-dependent window manager event.

See Also

SDL_EventState

SDL                                          Tue 11 Sep 2001, 23:00                            SDL_SysWMEvent(3)

See Also