lacros: zaura_surface should be created only once.
It turned out that hiding and showing a toplevel window results a protocol error set by EXO - zaura_shell@14: error 0: an aura surface object for that surface already exists. This error happens if the client shows, hides and then shows the same window. zaura_surface doesn't do anything with xdg_surface and it's better to move that down to the WaylandToplevelWindow and initialize upon OnInitalize. R=tonikitoo@igalia.com Bug: 1113900 Change-Id: I41649281ccae847fc7f4b7306df5cdd8d89f81bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404348Reviewed-by:Antonio Gomes (GMT-4) <tonikitoo@igalia.com> Commit-Queue: Antonio Gomes (GMT-4) <tonikitoo@igalia.com> Auto-Submit: Maksim Sisov (GMT+3) <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#806205}
Showing
Please register or sign in to comment