VirtualBox

Ignore:
Timestamp:
Feb 28, 2011 1:35:58 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt: Mouse Handler: Show host pointer for paused VM (Missed part of r69392).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp

    r35940 r36098  
    362362     * We should hide host pointer in case of:
    363363     * 1. mouse is 'captured' or
    364      * 2. mouse is 'not captured', 'integrated', 'absolute', host pointer is hidden by 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. */
    365365    if (uisession()->isMouseCaptured() ||
    366         (uisession()->isMouseIntegrated() &&
     366        (!uisession()->isPaused() &&
     367         uisession()->isMouseIntegrated() &&
    367368         uisession()->isMouseSupportsAbsolute() &&
    368369         uisession()->isHidingHostPointer()))
     
    376377
    377378    /* 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. */
    379380    if (!uisession()->isPaused() &&
    380381        uisession()->isMouseIntegrated() &&
     
    391392    /* There could be other states covering such situations as:
    392393     * 1. machine is 'paused' or
    393      * 2. mouse is 'not captured', 'integrated', 'not absolute' or
    394      * 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'.
    395396     * We have nothing to do with that except just unset the cursor. */
    396397    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette