[steam/f24] Re-add close functionality to X window button (#3210)