Changeset 15650 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Dec 18, 2008 12:44:13 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 41182
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleView.h
r15642 r15650 300 300 * key was pressed when we get a kEventRawKeyModifiersChanged event. */ 301 301 UInt32 mDarwinKeyModifiers; 302 bool mKeyboardGrabed; 302 303 #endif 303 304 -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleView.cpp
r15642 r15650 669 669 # endif 670 670 , mDarwinKeyModifiers (0) 671 , mKeyboardGrabed (false) 671 672 , mVirtualBoxLogo (NULL) 672 673 , mDockIconEnabled (true) … … 2208 2209 void VBoxConsoleView::darwinGrabKeyboardEvents (bool fGrab) 2209 2210 { 2211 mKeyboardGrabed = fGrab; 2210 2212 if (fGrab) 2211 2213 { … … 3936 3938 the keyboard/mouse is grabed (this is when we have a valid 3937 3939 event handler). */ 3938 if (m DarwinEventHandlerRef)3940 if (mKeyboardGrabed) 3939 3941 ::SetMouseCoalescingEnabled (false, NULL); 3940 3942 }
Note:
See TracChangeset
for help on using the changeset viewer.