Changeset 15562 in vbox for trunk/src/VBox
- Timestamp:
- Dec 16, 2008 9:09:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/darwin/VBoxUtils-darwin.cpp
r15512 r15562 372 372 void darwinEnableAsyncDragForWindow (QWidget *aWindow) 373 373 { 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); 380 381 /* Not working yet : */ 381 382 // ReshapeCustomWindow(::darwinToWindowRef (aWindow));
Note:
See TracChangeset
for help on using the changeset viewer.