Re: [PATCH weston] libweston-desktop/xdg-shell: Consolidate configure event sending

2017-06-25 Thread Quentin Glidic
On 6/23/17 1:11 PM, Daniel Stone wrote: Hi Quentin, On 13 April 2017 at 20:15, Quentin Glidic wrote: When switching a state twice in a row, we were overwriting the old value without setting it back, sending a wrong state to the client. Now we update our requested state, then check if we need

Re: [PATCH weston] libweston-desktop/xdg-shell: Consolidate configure event sending

2017-06-23 Thread Daniel Stone
Hi Quentin, On 13 April 2017 at 20:15, Quentin Glidic wrote: > When switching a state twice in a row, we were overwriting the old value > without setting it back, sending a wrong state to the client. > > Now we update our requested state, then check if we need to schedule a > configure event, if

[PATCH weston] libweston-desktop/xdg-shell: Consolidate configure event sending

2017-04-13 Thread Quentin Glidic
From: Quentin Glidic When switching a state twice in a row, we were overwriting the old value without setting it back, sending a wrong state to the client. Now we update our requested state, then check if we need to schedule a configure event, if we have one scheduled already or even if we can c