sdl2 :: SDLSysWMInfo :: is_wayland
# It this window manager Wayland?
fun is_wayland: Bool `{
#if SDL_VERSION_ATLEAST(2, 0, 2)
return self->subsystem == SDL_SYSWM_WAYLAND;
#else
return 0;
#endif
`}
lib/sdl2/syswm.nit:66,2--73,3