- Timestamp:
- Sep 18, 2014 3:33:11 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 96174
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp ¶
r52730 r52788 101 101 const char* UIExtraDataDefs::GUI_Seamless = "GUI/Seamless"; 102 102 const char* UIExtraDataDefs::GUI_Scale = "GUI/Scale"; 103 #ifdef Q_WS_X11 104 const char* UIExtraDataDefs::GUI_Fullscreen_LegacyMode = "GUI/Fullscreen/LegacyMode"; 105 #endif /* Q_WS_X11 */ 103 106 const char* UIExtraDataDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest"; 104 107 const char* UIExtraDataDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint"; -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h ¶
r52645 r52788 170 170 /** Holds whether scaled visual-state is requested. */ 171 171 extern const char* GUI_Scale; 172 #ifdef Q_WS_X11 173 /** Holds whether legacy full-screen mode is requested. */ 174 extern const char* GUI_Fullscreen_LegacyMode; 175 #endif /* Q_WS_X11 */ 172 176 /** Holds whether guest-screen auto-resize according machine-window size is enabled. */ 173 177 extern const char* GUI_AutoresizeGuest; -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp ¶
r52733 r52788 1785 1785 << GUI_RestrictedVisualStates 1786 1786 << GUI_Fullscreen << GUI_Seamless << GUI_Scale 1787 #ifdef Q_WS_X11 1788 << GUI_Fullscreen_LegacyMode 1789 #endif /* Q_WS_X11 */ 1787 1790 << GUI_AutoresizeGuest << GUI_LastGuestSizeHint << GUI_LastGuestSizeHintWasFullscreen 1788 1791 << GUI_VirtualScreenToHostScreen << GUI_AutomountGuestScreens … … 2904 2907 setExtraDataString(GUI_Scale, toFeatureAllowed(visualState == UIVisualStateType_Scale), strID); 2905 2908 } 2909 2910 #ifdef Q_WS_X11 2911 bool UIExtraDataManager::legacyFullscreenModeRequested() 2912 { 2913 /* 'False' unless feature allowed: */ 2914 return isFeatureAllowed(GUI_Fullscreen_LegacyMode); 2915 } 2916 #endif /* Q_WS_X11 */ 2906 2917 2907 2918 bool UIExtraDataManager::guestScreenAutoResizeEnabled(const QString &strID) -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h ¶
r52645 r52788 338 338 void setRequestedVisualState(UIVisualStateType visualState, const QString &strID); 339 339 340 #ifdef Q_WS_X11 341 /** Returns whether legacy full-screen mode is requested. */ 342 bool legacyFullscreenModeRequested(); 343 #endif /* Q_WS_X11 */ 344 340 345 /** Returns whether guest-screen auto-resize according machine-window size is enabled. */ 341 346 bool guestScreenAutoResizeEnabled(const QString &strID); -
TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineWindowFullscreen.cpp ¶
r52732 r52788 384 384 * which we do not test, so this is 'best effort' code. With window managers which 385 385 * support the _NET_WM_FULLSCREEN_MONITORS protocol this would interfere unreliable. */ 386 const bool fSupportsNativeFullScreen = VBoxGlobal::supportsFullScreenMonitorsProtocolX11(); 386 const bool fSupportsNativeFullScreen = VBoxGlobal::supportsFullScreenMonitorsProtocolX11() && 387 !gEDataManager->legacyFullscreenModeRequested(); 387 388 if (!fSupportsNativeFullScreen) 388 389 placeOnScreen();
Note:
See TracChangeset
for help on using the changeset viewer.