Creating the window surface