VirtualBox

Changeset 14453 in vbox


Ignore:
Timestamp:
Nov 21, 2008 12:40:17 PM (16 years ago)
Author:
vboxsync
Message:

crOpenGL­OSX: bad bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/darwin/VBoxUtils-darwin.cpp

    r14397 r14453  
    376376OSStatus darwinOverlayWindowHandler (EventHandlerCallRef aInHandlerCallRef, EventRef aInEvent, void *aInUserData)
    377377{
    378     if (aInUserData)
     378    if (!aInUserData)
    379379        return ::CallNextEventHandler (aInHandlerCallRef, aInEvent);
    380380
     
    424424            if (GetEventParameter (aInEvent, kEventParamDimensions, typeHISize, NULL, sizeof (s), NULL, &s) != noErr)
    425425                return noErr;
     426            ChangeWindowGroupAttributes (GetWindowGroup (w), 0, kWindowGroupAttrMoveTogether);
    426427            SizeWindow (w, s.width, s.height, true);
     428            ChangeWindowGroupAttributes (GetWindowGroup (w), kWindowGroupAttrMoveTogether, 0);
    427429            return noErr;
    428430        }
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