VirtualBox

Changeset 16698 in vbox


Ignore:
Timestamp:
Feb 11, 2009 8:48:34 PM (16 years ago)
Author:
vboxsync
Message:

SetMouseCoalescingEnabled cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp

    r16697 r16698  
    23202320           we *really* get all of the events. */
    23212321        ::CGSetLocalEventsSuppressionInterval (0.0);
    2322 # ifdef QT_MAC_USE_COCOA
    2323         /** @todo SetMouseCoalescingEnabled */
    2324 # else
    2325         ::SetMouseCoalescingEnabled (false, NULL);
    2326 # endif
     2322        setMouseCoalescingEnabled (false);
    23272323
    23282324        /* Register the event callback/hook and grab the keyboard. */
     
    40634059}
    40644060
     4061/**
     4062 * Wrapper for SetMouseCoalescingEnabled().
     4063 *
     4064 * Called by eventFilter() and darwinGrabKeyboardEvents().
     4065 * @param   aOn     Switch it on (true) or off (false).
     4066 */
    40654067void VBoxConsoleView::setMouseCoalescingEnabled (bool aOn)
    40664068{
    4067 #ifdef QT_MAC_USE_COCOA
    4068     /** @todo Carbon -> Cocoa */
    4069 #else
     4069# ifdef QT_MAC_USE_COCOA
     4070    /** @todo Carbon -> Cocoa: SetMouseCoalescingEnabled() is 32-bit only. */
     4071# else
    40704072    if (aOn)
    40714073        /* Enable mouse event compression if we leave the VM view. This
     
    40824084            ::SetMouseCoalescingEnabled (false, NULL);
    40834085    }
    4084 #endif
     4086# endif
    40854087}
    40864088
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