[PATCH weston] libweston-desktop/xdg-shell-v6: Ensure first configure is sent

Daniel Stone daniel at fooishbar.org
Wed Aug 30 08:47:11 UTC 2017


Hi Quentin,

On 28 August 2017 at 19:12, Quentin Glidic
<sardemff7+wayland at sardemff7.net> wrote:
> The old code for scheduling configure events on idle looked like:
> if (configure_scheduled) {
>     if (this_event_is_the_same) {
>         remove_timer();
> return;
>     }
> }
>
> If we queued one new event (either changed, or the client had never
> received any configure event), followed immediately by one event which
> was the same as the first, we would delete the scheduled send of the
> first event.
>
> Fix this by treating unconfigured surface as never the same.

Fair enough; this does unbreak GTK+ for me. Reviewed and pushed:
To ssh://git.freedesktop.org/git/wayland/weston
   eedf84c6..6914c802  push -> master

Cheers,
Daniel


More information about the wayland-devel mailing list