When resetting back to normal, maximized state, reset also the state,
just in case we might to check it up latter on.
Bug-AGL: SPEC-4673
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I0107e6963c01bde22a5a3ab30f392cb618a4f258
/* change the role */
surf->role = IVI_SURFACE_ROLE_NONE;
/* change the role */
surf->role = IVI_SURFACE_ROLE_NONE;
surf->desktop.pending_output = ivi_output;
wl_list_remove(&surf->link);
surf->desktop.pending_output = ivi_output;
wl_list_remove(&surf->link);