Changeset 47798 in vbox
- Timestamp:
- Aug 16, 2013 10:41:55 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88059
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/MouseImpl.cpp
r47795 r47798 739 739 int32_t y2 = y1 + cHeight; 740 740 741 LogRel3(("%s: screen %d,%d %d,%d\n",742 __FUNCTION__, x1, y1, x2, y2));741 LogRel3(("%s: screen [%d] %d,%d %d,%d\n", 742 __FUNCTION__, uScreenId, x1, y1, x2, y2)); 743 743 744 744 LONG i; … … 756 756 __FUNCTION__, i, x, y, contactId, fInContact, fInRange)); 757 757 758 /* Screen dimensions are 0,0 width, height, that isx2,y2 are exclusive,759 * while coordsare inclusive.758 /* x1,y1 are inclusive and x2,y2 are exclusive, 759 * while x,y start from 1 and are inclusive. 760 760 */ 761 if (x < x1 || x >= x2 || y < y1 || y >=y2)761 if (x <= x1 || x > x2 || y <= y1 || y > y2) 762 762 { 763 763 /* Out of range. Skip the contact. */
Note:
See TracChangeset
for help on using the changeset viewer.