Get the index of the display this window is associated with.
SDL Docs
int get displayIndex => sdl.checkReturnValue(sdl.sdl.SDL_GetWindowDisplayIndex(handle));