283bf373a1
This makes xdg_surface_change state the canonical place for changing surface state and moves much of the duplicated code into one place.