Changeset 16698 in vbox
- Timestamp:
- Feb 11, 2009 8:48:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r16697 r16698 2320 2320 we *really* get all of the events. */ 2321 2321 ::CGSetLocalEventsSuppressionInterval (0.0); 2322 # ifdef QT_MAC_USE_COCOA 2323 /** @todo SetMouseCoalescingEnabled */ 2324 # else 2325 ::SetMouseCoalescingEnabled (false, NULL); 2326 # endif 2322 setMouseCoalescingEnabled (false); 2327 2323 2328 2324 /* Register the event callback/hook and grab the keyboard. */ … … 4063 4059 } 4064 4060 4061 /** 4062 * Wrapper for SetMouseCoalescingEnabled(). 4063 * 4064 * Called by eventFilter() and darwinGrabKeyboardEvents(). 4065 * @param aOn Switch it on (true) or off (false). 4066 */ 4065 4067 void VBoxConsoleView::setMouseCoalescingEnabled (bool aOn) 4066 4068 { 4067 # ifdef QT_MAC_USE_COCOA4068 /** @todo Carbon -> Cocoa */4069 # else4069 # ifdef QT_MAC_USE_COCOA 4070 /** @todo Carbon -> Cocoa: SetMouseCoalescingEnabled() is 32-bit only. */ 4071 # else 4070 4072 if (aOn) 4071 4073 /* Enable mouse event compression if we leave the VM view. This … … 4082 4084 ::SetMouseCoalescingEnabled (false, NULL); 4083 4085 } 4084 # endif4086 # endif 4085 4087 } 4086 4088
Note:
See TracChangeset
for help on using the changeset viewer.