Changeset 36098 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 28, 2011 1:35:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp
r35940 r36098 362 362 * We should hide host pointer in case of: 363 363 * 1. mouse is 'captured' or 364 * 2. m ouse is 'not captured', 'integrated', 'absolute', host pointer is hiddenby the guest. */364 * 2. machine is NOT 'paused' and mouse is NOT 'captured' and 'integrated' and 'absolute' but host pointer is 'hidden' by the guest. */ 365 365 if (uisession()->isMouseCaptured() || 366 (uisession()->isMouseIntegrated() && 366 (!uisession()->isPaused() && 367 uisession()->isMouseIntegrated() && 367 368 uisession()->isMouseSupportsAbsolute() && 368 369 uisession()->isHidingHostPointer())) … … 376 377 377 378 /* Otherwise we should show host pointer with guest shape assigned to it if: 378 * machine is NOT 'paused', mouse is 'integrated' , 'absolute',valid pointer shape is present. */379 * machine is NOT 'paused', mouse is 'integrated' and 'absolute' and valid pointer shape is present. */ 379 380 if (!uisession()->isPaused() && 380 381 uisession()->isMouseIntegrated() && … … 391 392 /* There could be other states covering such situations as: 392 393 * 1. machine is 'paused' or 393 * 2. mouse is 'not captured', 'integrated', 'notabsolute' or394 * 3. mouse is 'not captured', 'not integrated', 'absolute'.394 * 2. mouse is NOT 'captured' and 'integrated' but NOT 'absolute' or 395 * 3. mouse is NOT 'captured' and 'absolute' but NOT 'integrated'. 395 396 * We have nothing to do with that except just unset the cursor. */ 396 397 {
Note:
See TracChangeset
for help on using the changeset viewer.