VirtualBox

Changeset 15562 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 16, 2008 9:09:45 AM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: disabled r40997 again, cause we didn't get any move events anymore

File:
1 edited

Legend:

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

    r15512 r15562  
    372372void darwinEnableAsyncDragForWindow (QWidget *aWindow)
    373373{
    374     WindowAttributes waGet;
    375     WindowAttributes waSet = kWindowAsyncDragAttribute;
    376     GetWindowAttributes (::darwinToWindowRef (aWindow), &waGet);
    377     if ((waGet & kWindowResizableAttribute) != kWindowResizableAttribute)
    378         waSet |= kWindowResizableAttribute;
    379     ChangeWindowAttributes (::darwinToWindowRef (aWindow), waSet, kWindowNoAttributes);
     374    /* Disabled for now, cause we didn't get any move events anymore. */
     375//    WindowAttributes waGet;
     376//    WindowAttributes waSet = kWindowAsyncDragAttribute | kWindowLiveResizeAttribute;
     377//    GetWindowAttributes (::darwinToWindowRef (aWindow), &waGet);
     378//    if ((waGet & kWindowResizableAttribute) != kWindowResizableAttribute)
     379//        waSet |= kWindowResizableAttribute;
     380//    ChangeWindowAttributes (::darwinToWindowRef (aWindow), waSet, kWindowNoAttributes);
    380381    /* Not working yet : */
    381382//    ReshapeCustomWindow(::darwinToWindowRef (aWindow));
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