VirtualBox

Changeset 26750 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 24, 2010 2:46:25 PM (15 years ago)
Author:
vboxsync
Message:

Main/MouseImpl: hopefully fix assertions in the absolute PS/2 device code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MouseImpl.cpp

    r26650 r26750  
    165165    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    166166
     167    CHECK_CONSOLE_DRV (mpDrv);
     168
    167169    if (uDevCaps & MOUSE_DEVCAP_ABSOLUTE)
    168170        *absoluteSupported = TRUE;
    169171    else
    170172    {
    171         CHECK_CONSOLE_DRV (mpDrv);
    172 
    173173        uint32_t mouseCaps;
    174174        int rc = getVMMDevMouseCaps(&mouseCaps);
     
    234234                                    int32_t dw, uint32_t fButtons)
    235235{
    236     CHECK_CONSOLE_DRV (mpDrv);
    237 
    238236    if (dx || dy || dz || dw || fButtons != mLastButtons)
    239237    {
     
    259257                                    int32_t dz, int32_t dw, uint32_t fButtons)
    260258{
    261     CHECK_CONSOLE_DRV (mpDrv);
    262 
    263259    if (   mouseXAbs != mLastAbsX
    264260        || mouseYAbs != mLastAbsY
     
    408404    LogRel3(("%s: x=%d, y=%d, dz=%d, dw=%d, buttonState=0x%x\n",
    409405             __PRETTY_FUNCTION__, x, y, dz, dw, buttonState));
     406
     407    CHECK_CONSOLE_DRV(mpDrv);
    410408
    411409    uint32_t mouseXAbs;
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