VirtualBox

Changeset 47805 in vbox


Ignore:
Timestamp:
Aug 16, 2013 12:51:14 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88066
Message:

MouseImpl: try to fix XPCOM warning.

File:
1 edited

Legend:

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

    r47804 r47805  
    474474    /* If mouse button is pressed, we generate new event, to avoid reusable events coalescing and thus
    475475       dropping key press events */
    476     GuestMouseEventMode_T mode = fAbsolute? GuestMouseEventMode_Absolute: GuestMouseEventMode_Relative;
     476    GuestMouseEventMode_T mode;
     477    if (fAbsolute)
     478        mode = GuestMouseEventMode_Absolute;
     479    else
     480        mode = GuestMouseEventMode_Relative;
     481
    477482    if (fButtons != 0)
    478483    {
Note: See TracChangeset for help on using the changeset viewer.

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