forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear pending_bounds_change on remote surface destruction
It is possible that bounds change is scheduled to pending_bounds_change of the RemoteShell, and then the surface is destroyed. In that case RemoteShell will try sending events to already destroyed object, which will lead to a crash. This CL unregister the entry from pending_bounds_change when the surface is destructed. To make this, this CL also refactors exo::ClientControlledShellSurface. Previously it has a lot of callbacks to pass events from exo to wayland. This CL reforms those callbacks into a single delegate class. Bug: 1163271 Test: none Change-Id: I879872db344f3c129a67ec9dbdcf0704d75634cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2707387 Commit-Queue: Jun Mukai <mukai@chromium.org> Reviewed-by: Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#856544}
- Loading branch information
Showing
6 changed files
with
337 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.