Changeset 47728 in vbox for trunk/src/VBox
- Timestamp:
- Aug 14, 2013 2:03:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp
r47724 r47728 911 911 QVector<LONG64> contacts(pTouchEvent->touchPoints().size()); 912 912 913 CFramebuffer framebuffer; 914 LONG xShift = 0, yShift = 0; 915 session().GetConsole().GetDisplay().GetFramebuffer(uScreenId, framebuffer, xShift, yShift); 916 913 917 /* Pass all multi-touch events into guest: */ 914 918 int iTouchPointIndex = 0; … … 935 939 currentTouchPoint.x(), currentTouchPoint.y(), touchPoint.id(), iTouchPointState)); 936 940 937 contacts[iTouchPointIndex] = RT_MAKE_U64_FROM_U16((uint16_t)currentTouchPoint.x() + 1 ,938 (uint16_t)currentTouchPoint.y() + 1 ,941 contacts[iTouchPointIndex] = RT_MAKE_U64_FROM_U16((uint16_t)currentTouchPoint.x() + 1 + xShift, 942 (uint16_t)currentTouchPoint.y() + 1 + yShift, 939 943 RT_MAKE_U16(touchPoint.id(), iTouchPointState), 940 944 0);
Note:
See TracChangeset
for help on using the changeset viewer.