summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-02-15 04:55:52 -0800
committer Prabir Pradhan <prabirmsp@google.com> 2022-02-15 04:55:52 -0800
commit977e7c363bdd316019ecafa27f252ce305fd9d52 (patch)
treea261f3816651b2b9cc3ce97f3686f5193d9ae557 /libs/gui/BufferQueueThreadState.cpp
parent17b449fc647318859bbdefb87b7a2103ee40faf8 (diff)
SF: Configure input windows with the first input-enabled display
We can have a situation where more than one DisplayDevice can receive input for a layer stack. In this situation, we don't have a clear way to distinguish which display we should use for input. We change the implemntation so that we use the first input-enabled display in mDisplays to configure the input windows. In the case where a display is mirrored using the same layer stack, this would help if the display we actually want to receive input is listed first. Bug: 219191788 Test: manual: Developer options > "Simulate secondary display" Change-Id: Ic9cfff75f0178f80decf6cf1ffd3ba81a766caa6
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions