Changeset 52751 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 15, 2014 3:08:43 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96105
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin-cocoa.mm
r52727 r52751 221 221 /* Check whether passed pWindow is in native fullscreen mode. */ 222 222 return [pWindow styleMask] & NSFullScreenWindowMask; 223 } 224 225 bool darwinIsOnActiveSpace(NativeNSWindowRef pWindow) 226 { 227 /* Check whether passed pWindow is on active space. */ 228 return [pWindow isOnActiveSpace]; 223 229 } 224 230 -
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin.cpp
r52727 r52751 162 162 { 163 163 return ::darwinIsInFullscreenMode(::darwinToNativeWindow(pWidget)); 164 } 165 166 bool darwinIsOnActiveSpace(QWidget *pWidget) 167 { 168 return ::darwinIsOnActiveSpace(::darwinToNativeWindow(pWidget)); 164 169 } 165 170 -
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/VBoxUtils-darwin.h
r52727 r52751 81 81 void darwinToggleFullscreenMode(NativeNSWindowRef pWindow); 82 82 bool darwinIsInFullscreenMode(NativeNSWindowRef pWindow); 83 bool darwinIsOnActiveSpace(NativeNSWindowRef pWindow); 83 84 bool darwinScreensHaveSeparateSpaces(); 84 85 … … 250 251 void darwinToggleFullscreenMode(QWidget *pWidget); 251 252 bool darwinIsInFullscreenMode(QWidget *pWidget); 253 bool darwinIsOnActiveSpace(QWidget *pWidget); 252 254 bool darwinOpenFile(const QString &strFile); 253 255
Note:
See TracChangeset
for help on using the changeset viewer.