summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-05-14 16:11:49 +0000
committer Jorge Gil <jorgegil@google.com> 2024-05-21 01:45:51 +0000
commitcd00e1e673a08d6256ca10f921d6305088001bc4 (patch)
treea52ea2c9e22e9f6b624c85a6b2b04f6d0ad41907 /libs/input/PointerController.cpp
parentef81b387f08bcc32042c00854fc5d22c06a09d6c (diff)
Remove window decor for constructor
The window decor config should be created based on the type of caption that will be drawn (handle vs header) because the density in the config can be different for each type. Instead of passing in a config in the ctor, always calculate it on relayout(), which is when the caption type is known for the first time. The config isn't needed before relayout(). Bug: 332414819 Test: atest WMShellUnitTests Change-Id: I9af8a483e648b9b94cddf7037a86bd27f595ed57
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions