Re: [PATCH weston] shell: Keep shsurf->fullscreen_output set after unset_fullscreen()

2014-04-10 Thread Kristian Høgsberg
On Thu, Apr 10, 2014 at 04:36:57PM +0300, Ander Conselvan de Oliveira wrote: > When a fullscreen surface gets the maximized state, the function > reset_surface_type() is called and that causes unset_fullscreen() to be > called. That function would set the value of shsurf->fullscreen_output > to NUL

[PATCH weston] shell: Keep shsurf->fullscreen_output set after unset_fullscreen()

2014-04-10 Thread Ander Conselvan de Oliveira
When a fullscreen surface gets the maximized state, the function reset_surface_type() is called and that causes unset_fullscreen() to be called. That function would set the value of shsurf->fullscreen_output to NULL. However, since the surface still has the fullscreen state, it will be configured a