weston/libweston-desktop
Quentin Glidic 6914c80210 libweston-desktop/xdg-shell-v6: Ensure first configure is sent
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.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2017-08-30 09:44:40 +01:00
..
client.c Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
internal.h libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.c libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.h libweston-desktop: add set_xwayland_position API 2017-01-18 13:21:02 +02:00
libweston-desktop.pc.in libweston-desktop: Fix libweston-desktop.pc 2016-08-15 11:46:46 +03:00
seat.c Introduce libweston-desktop 2016-08-14 09:29:00 +02:00
surface.c libweston-desktop: don't crash when getting the pid for X clients 2016-12-08 11:58:18 +01:00
wl-shell.c libweston: introduce weston_output_from_resource() 2017-07-25 16:08:48 +03:00
xdg-shell-v5.c libweston-desktop/xdg-shell-v5: initialize configure list 2017-08-05 16:36:27 +02:00
xdg-shell-v6.c libweston-desktop/xdg-shell-v6: Ensure first configure is sent 2017-08-30 09:44:40 +01:00
xwayland.c xwm: update override-redirect surface's position upon configure_notify 2017-07-21 17:38:01 +02:00