Added WindowEvent structure.