diff options
author | 2023-08-22 17:21:21 +0000 | |
---|---|---|
committer | 2023-08-22 20:49:06 +0000 | |
commit | 15118bd67c7e1301f3695714fa1a58f1e77bd717 (patch) | |
tree | 2ff508f47a980939f2a3ea33956a70b816765314 /libs/input/PointerController.cpp | |
parent | 9c9e0b77c165d48f1e5f62ceab0897c60e6dc587 (diff) |
Move input surfaces into its own overlay in DisplayContent
Input surfaces, such as gesture monitors and handwriting windows, were
created and placed directly inside the DisplayContent's SurfaceControl.
In some cases, like when the display is recreated, the DisplayContent's
SurfaceControl changes, so the surfaces should be reparented to the new
SurfaceControl when that happens.
To do that, we create a new overlay layer in DisplayContent for input
surfaces, and place that between the display overlay and the a11y
overlay. That way, we can ensure that the input overlays are always
parented to the correct display in the hierarchy, even when the display
is recreated.
Bug: 295386214
Test: manual
Change-Id: Ia1e31e68dca20610b7cb704869ceb71bb49e753b
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions