VirtualBox

Changeset 68088 in vbox for trunk


Ignore:
Timestamp:
Jul 22, 2017 7:59:39 PM (8 years ago)
Author:
vboxsync
Message:

bugref:8778: Double click not working with precision touchpad (user report)
revert r117077, which did not work correctly as I clearly misunderstood what the code was doing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/PS2M.cpp

    r68052 r68088  
    557557    {
    558558        pThis->fReportedB = pThis->fAccumB;
    559         pThis->fAccumB    = pThis->fCurrB;
     559        pThis->fAccumB    = 0;
    560560    }
    561561}
     
    848848#else
    849849    /* If more movement is accumulated, report it and restart the timer. */
    850     uHaveEvents = pThis->iAccumX | pThis->iAccumY | pThis->iAccumZ | (pThis->fAccumB != pThis->fReportedB);
     850    uHaveEvents = pThis->iAccumX | pThis->iAccumY | pThis->iAccumZ | (pThis->fCurrB != pThis->fReportedB);
    851851    LogFlowFunc(("Have%s events\n", uHaveEvents ? "" : " no"));
    852852
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