Implamented a missing method in Window_sdl