diff options
Diffstat (limited to 'libs/input/tests/StructLayout_test.cpp')
-rw-r--r-- | libs/input/tests/StructLayout_test.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/input/tests/StructLayout_test.cpp b/libs/input/tests/StructLayout_test.cpp index 585779e472..5861d55156 100644 --- a/libs/input/tests/StructLayout_test.cpp +++ b/libs/input/tests/StructLayout_test.cpp @@ -74,9 +74,11 @@ void TestInputMessageAlignment() { CHECK_OFFSET(InputMessage::Body::Motion, yPrecision, 124); CHECK_OFFSET(InputMessage::Body::Motion, xCursorPosition, 128); CHECK_OFFSET(InputMessage::Body::Motion, yCursorPosition, 132); - CHECK_OFFSET(InputMessage::Body::Motion, pointerCount, 136); - CHECK_OFFSET(InputMessage::Body::Motion, empty3, 140); - CHECK_OFFSET(InputMessage::Body::Motion, pointers, 144); + CHECK_OFFSET(InputMessage::Body::Motion, displayWidth, 136); + CHECK_OFFSET(InputMessage::Body::Motion, displayHeight, 140); + CHECK_OFFSET(InputMessage::Body::Motion, pointerCount, 144); + CHECK_OFFSET(InputMessage::Body::Motion, empty3, 148); + CHECK_OFFSET(InputMessage::Body::Motion, pointers, 152); CHECK_OFFSET(InputMessage::Body::Focus, eventId, 0); CHECK_OFFSET(InputMessage::Body::Focus, hasFocus, 4); |