Changeset 27762 in vbox for trunk/src/VBox
- Timestamp:
- Mar 26, 2010 11:14:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r27757 r27762 3272 3272 QPoint cpnt = viewportToContents (aPos); 3273 3273 if (cpnt.x() < 0) cpnt.setX (0); 3274 else if (cpnt.x() > cw ) cpnt.setX (cw);3274 else if (cpnt.x() > cw - 1) cpnt.setX (cw - 1); 3275 3275 if (cpnt.y() < 0) cpnt.setY (0); 3276 else if (cpnt.y() > ch ) cpnt.setY (ch);3276 else if (cpnt.y() > ch - 1) cpnt.setY (ch - 1); 3277 3277 3278 3278 CMouse mouse = mConsole.GetMouse(); 3279 mouse.PutMouseEventAbsolute (cpnt.x(), cpnt.y(), wheelVertical, 3280 wheelHorizontal, state); 3279 mouse.PutMouseEventAbsolute (cpnt.x() + 1, cpnt.y() + 1, 3280 wheelVertical, wheelHorizontal, 3281 state); 3281 3282 return true; /* stop further event handling */ 3282 3283 }
Note:
See TracChangeset
for help on using the changeset viewer.