summaryrefslogtreecommitdiff
path: root/include/input/InputWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/input/InputWindow.h')
-rw-r--r--include/input/InputWindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/input/InputWindow.h b/include/input/InputWindow.h
index f8c759c85d..6a42ff6eb4 100644
--- a/include/input/InputWindow.h
+++ b/include/input/InputWindow.h
@@ -21,6 +21,7 @@
#include <input/InputTransport.h>
#include <ui/Rect.h>
#include <ui/Region.h>
+#include <ui/Transform.h>
#include <utils/RefBase.h>
#include <utils/Timers.h>
@@ -160,6 +161,9 @@ struct InputWindowInfo {
float windowXScale = 1.0f;
float windowYScale = 1.0f;
+ // Transform applied to individual windows.
+ ui::Transform transform;
+
/*
* This is filled in by the WM relative to the frame and then translated
* to absolute coordinates by SurfaceFlinger once the frame is computed.