shell: Consolidate state changes into xdg_surface_change_state
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 19 Feb 2014 07:28:09 +0000 (23:28 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 19 Feb 2014 17:50:40 +0000 (09:50 -0800)
commit283bf373a17f2a511d61ee441c5fbf93aa84757c
treeed877344f433b2097fe249233620e0f61e02c1de
parent8c6aa45f97149782914d8002e0f717251b0387d2
shell: Consolidate state changes into xdg_surface_change_state

This makes xdg_surface_change state the canonical place for changing
surface state and moves much of the duplicated code into one place.
desktop-shell/shell.c