VirtualBox

Changeset 21868 in vbox


Ignore:
Timestamp:
Jul 29, 2009 5:18:25 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11: don't report absolute mouse movements to the guest unless mouse integration is enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxmouse/vboxmouse_15.c

    r21747 r21868  
    6868    /* The first test here is a workaround for an apparant bug in Xorg Server 1.5 */
    6969    if (   miPointerGetScreen(pInfo->dev) != NULL
    70         && RT_SUCCESS(VbglR3GetMouseStatus(&fFeatures, &cx, &cy)))
     70        && RT_SUCCESS(VbglR3GetMouseStatus(&fFeatures, &cx, &cy))
     71        && (fFeatures & VMMDEV_MOUSE_HOST_CAN_ABSOLUTE))
    7172        /* send absolute movement */
    7273        xf86PostMotionEvent(pInfo->dev, 1, 0, 2, cx, cy);
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