desktop-shell: Set maximized flags in common code path
desktop-shell: Set maximized flags in common code path

We can set the maximized and state_changed flags in set_maximized(),
which is shared between shell_surface_set_maximized() and
xdg_surface_set_maximized().

xorgy/weston,Tarnyko/weston-xdg_surface_present,krezovic/weston,eyolfson/weston,sir-murray/weston,krezovic/weston,sir-murray/weston,giucam/weston,mchalupa/weston,Gnurou/weston,udoprog/weston,Fantu/compositor-spice,eyolfson/weston,kwm81/weston,jonnylamb/weston,Fantu/compositor-spice,Fantu/compositor-spice,kwm81/weston,xorgy/weston,jonnylamb/weston,Gnurou/weston,Tarnyko/weston-xdg_surface_present,mchalupa/weston,udoprog/weston,giucam/weston