Changeset 51246 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 13, 2014 4:18:35 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93683
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin-cocoa.mm
r51130 r51246 198 198 void darwinToggleFullscreenMode(NativeNSWindowRef pWindow) 199 199 { 200 /* Toggle native fullscreen mode for passed pWindow. This method is available since 10.7 only. 201 * To automatically sync this method subsequent calls we performing it on the main (GUI) thread. */ 200 /* Toggle native fullscreen mode for passed pWindow. This method is available since 10.7 only. */ 202 201 if ([pWindow respondsToSelector: @selector(toggleFullScreen:)]) 203 [pWindow performSelector OnMainThread: @selector(toggleFullScreen:) withObject: (id)nil waitUntilDone :NO];202 [pWindow performSelector: @selector(toggleFullScreen:) withObject: (id)nil]; 204 203 } 205 204 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp
r51035 r51246 438 438 /* Window => logic signals: */ 439 439 connect(pMachineWindow, SIGNAL(sigNotifyAboutNativeFullscreenWillEnter()), 440 this, SLOT(sltHandleNativeFullscreenWillEnter())); 440 this, SLOT(sltHandleNativeFullscreenWillEnter()), 441 Qt::QueuedConnection); 441 442 connect(pMachineWindow, SIGNAL(sigNotifyAboutNativeFullscreenDidEnter()), 442 this, SLOT(sltHandleNativeFullscreenDidEnter())); 443 this, SLOT(sltHandleNativeFullscreenDidEnter()), 444 Qt::QueuedConnection); 443 445 connect(pMachineWindow, SIGNAL(sigNotifyAboutNativeFullscreenWillExit()), 444 this, SLOT(sltHandleNativeFullscreenWillExit())); 446 this, SLOT(sltHandleNativeFullscreenWillExit()), 447 Qt::QueuedConnection); 445 448 connect(pMachineWindow, SIGNAL(sigNotifyAboutNativeFullscreenDidExit()), 446 this, SLOT(sltHandleNativeFullscreenDidExit())); 449 this, SLOT(sltHandleNativeFullscreenDidExit()), 450 Qt::QueuedConnection); 447 451 } 448 452 /* Revalidate 'fullscreen' windows: */
Note:
See TracChangeset
for help on using the changeset viewer.