Change some of the WindowEvent members to structs to name their fields.