diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-08-28 20:12:01 +0200 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2017-08-30 09:44:40 +0100 |
commit | 6914c80210df7edde257a3cda96d006bcd363579 (patch) | |
tree | c5321646642d0620fcb0088e1ebb2ad0b6f51739 /tests | |
parent | eedf84c68f57c5d9d171520d8984e5ef293035f7 (diff) |
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>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions