Changeset 14453 in vbox
- Timestamp:
- Nov 21, 2008 12:40:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/darwin/VBoxUtils-darwin.cpp
r14397 r14453 376 376 OSStatus darwinOverlayWindowHandler (EventHandlerCallRef aInHandlerCallRef, EventRef aInEvent, void *aInUserData) 377 377 { 378 if ( aInUserData)378 if (!aInUserData) 379 379 return ::CallNextEventHandler (aInHandlerCallRef, aInEvent); 380 380 … … 424 424 if (GetEventParameter (aInEvent, kEventParamDimensions, typeHISize, NULL, sizeof (s), NULL, &s) != noErr) 425 425 return noErr; 426 ChangeWindowGroupAttributes (GetWindowGroup (w), 0, kWindowGroupAttrMoveTogether); 426 427 SizeWindow (w, s.width, s.height, true); 428 ChangeWindowGroupAttributes (GetWindowGroup (w), kWindowGroupAttrMoveTogether, 0); 427 429 return noErr; 428 430 }
Note:
See TracChangeset
for help on using the changeset viewer.