Changeset 50534 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 21, 2014 6:46:09 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92383
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin-cocoa.mm
r50520 r50534 198 198 void darwinToggleFullscreenMode(NativeNSWindowRef pWindow) 199 199 { 200 /* Toggle native fullscreen mode for passed pWindow. 201 * T his method is available since 10.7 only. */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. */ 202 202 if ([pWindow respondsToSelector: @selector(toggleFullScreen:)]) 203 [pWindow performSelector : @selector(toggleFullScreen:) withObject: (id)nil];203 [pWindow performSelectorOnMainThread: @selector(toggleFullScreen:) withObject: (id)nil waitUntilDone :NO]; 204 204 } 205 205
Note:
See TracChangeset
for help on using the changeset viewer.