ozone/wayland: Avoid unneeded subsequent xdg-decoration set_mode requests
xdg-decoration spec says: > [...] clients are responsible for preventing configure loops and > must make sure not to send multiple successive set_mode requests > with the same decoration mode. which wasn't being done so far and issues like crbug.com/1131662 were observed. This patch fixes it by avoiding re-sending subsequent set_mode requests with the same decoration mode. Additionally a few cleanups and style fixes are made. R=msisov@igalia.com Bug: 1131662 Change-Id: I7cb64557775fa8562284067fb90d8cba0dea5d84 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436851Reviewed-by:Antonio Gomes (GMT-4) <tonikitoo@igalia.com> Reviewed-by:
Abhijeet Kandalkar <abhijeet@igalia.com> Reviewed-by:
Maksim Sisov (GMT+3) <msisov@igalia.com> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#811600}
Showing
Please register or sign in to comment