mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 10:10:41 +00:00
This error was observed: wl_surface@5: error 3: buffer committed to unconfigured xdg_surface Shout out to bugaevc for the diagnosis and fix: "In addition to setting up the listeners, we have also made two important changes. First, we call wl_surface.commit right away, prior to attaching any buffer to it. This causes the compositor to issue the appropriate configure events. We wait for them to be received and handled with an additional wl_display_roundtrip() before we attach the buffer." https://bugaevc.gitbooks.io/writing-wayland-clients/content/beyond-the-black-square/xdg-shell.html BUG=b:150239451 TEST=boot VM with wayland display, still doesn't work completely correctly due to lack of {import, attach, detach}_event_device implementations Change-Id: I06fac4f8540ce410c20a367d1e5dbe3fc08c4f10 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2583164 Tested-by: Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Zach Reizner <zachr@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org> |
||
---|---|---|
.. | ||
examples | ||
protocol | ||
src | ||
build.rs | ||
Cargo.toml |