summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2021-08-06 17:09:47 -0500
committer chaviw <chaviw@google.com> 2021-08-06 17:09:47 -0500
commit6eada62e3f020f9c54c188a745945df5265e2e5c (patch)
treefbdf282f426917c5501a6068f6029ee534bb9b57 /libs/gui/BLASTBufferQueue.cpp
parentad802be87734cfd20a2aaa30d92343d5f418e788 (diff)
Set windowInfo.displayId to be the layerStack
Instead of using the displayId sent from WMS, it's better to use the layerStack since it more accurately represents where the layer is presented. Previously, the only case where WMS needed to set a displayId different from layerStack was when using portal displays, which is no longer supported. This also fixes the case with cloned layers. If a cloned layer was placed on a different display than the main layer, the WindowInfo for the clone would end up having the same display as the main window since the properties were directly copied over. With this fix, the cloned layer's WindowInfo will get the correct layerStack that represents where it's actually rendered. Test: MediaProjection capture with mirror Bug: 195280234 Change-Id: Id1794798a543260c9868ccdc1be3cdb574b73dd5
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions