Re: [PATCH weston 1/2] desktop-shell: Unset fullscreen/maximized state on commit

2016-08-20 Thread Quentin Glidic
On 19/08/2016 11:55, Jonas Ådahl wrote: On Tue, Aug 16, 2016 at 02:30:06PM +0200, Quentin Glidic wrote: From: Quentin Glidic Maybe libweston-desktop should prevent the committed callback to be "Maybe" doesn't seem like something to have in a commit message :P

Re: [PATCH weston 1/2] desktop-shell: Unset fullscreen/maximized state on commit

2016-08-19 Thread Jonas Ådahl
On Tue, Aug 16, 2016 at 02:30:06PM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > Maybe libweston-desktop should prevent the committed callback to be "Maybe" doesn't seem like something to have in a commit message :P The reason we need it in shell_surface

[PATCH weston 1/2] desktop-shell: Unset fullscreen/maximized state on commit

2016-08-16 Thread Quentin Glidic
From: Quentin Glidic Maybe libweston-desktop should prevent the committed callback to be called if no state changed. For now, keep the interesting state in shell_surface like they used to. This only stores the current state, as libweston-desktop is still in charge of