fixup! [ozone/wayland] Relax condition to call PlatformWindowDelegate::OnWindowStateChanged()
This CL changes the original fix [1] that relaxed the condition to call PlatformWindowDelegate::OnWindowStateChanged() from WaylandToplevelWindow::HandleSurfaceConfigure(). [1] https://crrev.com/c/2601219 Most of the original change in [1] is recovered, and an extra call to PlatformWindowDelegate::OnWindowStateChanged() was added to WaylandToplevelWindow::TriggerStateChanges(). This keeps the synchronous nature expected for the calls coming from the browser that change window show states. BUG=1113900 R=msisov@igalia.com Change-Id: If61d71c3ae885b6ea0e9c1ab8e091694f48db771 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2614433Reviewed-by:Maksim Sisov <msisov@igalia.com> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#842018}
Showing
Please register or sign in to comment