VirtualBox

Ignore:
Timestamp:
Dec 18, 2008 12:44:13 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
41182
Message:

FE/Qt4-OSX: fix mac burns

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleView.h

    r15642 r15650  
    300300     *  key was pressed when we get a kEventRawKeyModifiersChanged event. */
    301301    UInt32 mDarwinKeyModifiers;
     302    bool mKeyboardGrabed;
    302303#endif
    303304
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp

    r15642 r15650  
    669669# endif
    670670    , mDarwinKeyModifiers (0)
     671    , mKeyboardGrabed (false)
    671672    , mVirtualBoxLogo (NULL)
    672673    , mDockIconEnabled (true)
     
    22082209void VBoxConsoleView::darwinGrabKeyboardEvents (bool fGrab)
    22092210{
     2211    mKeyboardGrabed = fGrab;
    22102212    if (fGrab)
    22112213    {
     
    39363938           the keyboard/mouse is grabed (this is when we have a valid
    39373939           event handler). */
    3938         if (mDarwinEventHandlerRef)
     3940        if (mKeyboardGrabed)
    39393941            ::SetMouseCoalescingEnabled (false, NULL);
    39403942    }
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