Changeset 34835 in vbox
- Timestamp:
- Dec 8, 2010 2:10:49 PM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r34754 r34835 935 935 int32_t *px2, int32_t *py2) 936 936 { 937 int32_t x1 = 0, y1 = 0, x2 = 0, y2 = 0; 938 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 939 937 940 AssertPtrReturnVoid(px1); 938 941 AssertPtrReturnVoid(py1); 939 942 AssertPtrReturnVoid(px2); 940 943 AssertPtrReturnVoid(py2); 941 int32_t x1 = 0, y1 = 0, x2 = 0, y2 = 0; 942 for (unsigned i = 0; i < mcMonitors; ++i) 944 LogFlowFunc(("\n")); 945 946 if (!mpDrv) 947 return; 948 x2 = mpDrv->IConnector.cx; 949 y2 = mpDrv->IConnector.cy; 950 for (unsigned i = 1; i < mcMonitors; ++i) 943 951 { 944 952 x1 = RT_MIN(x1, maFramebuffers[i].xOrigin); -
trunk/src/VBox/Main/MouseImpl.cpp
r34754 r34835 468 468 { 469 469 int32_t x1, y1, x2, y2; 470 /* Takes the display lock */ 470 471 pDisplay->getFramebufferDimensions(&x1, &y1, &x2, &y2); 471 472 *pcX = x1 != x2 ? (x - 1 - x1) * 0xFFFF / (x2 - x1) : 0;
Note:
See TracChangeset
for help on using the changeset viewer.