Changeset 21712 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 17, 2009 9:26:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r21711 r21712 3132 3132 QPoint cpnt = viewportToContents (aPos); 3133 3133 if (cpnt.x() < 0) cpnt.setX (0); 3134 else if (cpnt.x() > = cw) cpnt.setX (cw - 1);3134 else if (cpnt.x() > cw) cpnt.setX (cw); 3135 3135 if (cpnt.y() < 0) cpnt.setY (0); 3136 else if (cpnt.y() > = ch) cpnt.setY (ch - 1);3136 else if (cpnt.y() > ch) cpnt.setY (ch); 3137 3137 3138 3138 CMouse mouse = mConsole.GetMouse(); 3139 mouse.PutMouseEventAbsolute (cpnt.x() + 1, cpnt.y() + 1, 3140 wheel, state); 3139 mouse.PutMouseEventAbsolute (cpnt.x(), cpnt.y(), wheel, state); 3141 3140 return true; /* stop further event handling */ 3142 3141 }
Note:
See TracChangeset
for help on using the changeset viewer.