From 75d7a2c16b01fa286f522ef1b85a068a807351a3 Mon Sep 17 00:00:00 2001 From: Cinders Date: Thu, 12 Sep 2013 21:30:12 -0600 Subject: [PATCH] Hardcode fullscreen mode OFF and hide the UI for it on mac until that's fixed. For now, users can use the native cocoa fullscreen mode --- indra/newview/llappviewer.cpp | 8 ++++++++ indra/newview/llfloaterpreference.cpp | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 0158b10edc..b690a2c292 100755 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -3553,7 +3553,15 @@ bool LLAppViewer::initWindow() .height(gSavedSettings.getU32("WindowHeight")) .min_width(gSavedSettings.getU32("MinWindowWidth")) .min_height(gSavedSettings.getU32("MinWindowHeight")) +/// Since the 3.6.5 merge, setting fullscreen does terrible bad things on macs like opening +/// all floaters and menus off the left side of the screen. Let's not do that right now... +/// Hardcoding full screen OFF until it's fixed. On 10.7+ we have native full screen support anyway. +#ifndef LL_DARWIN .fullscreen(gSavedSettings.getBOOL("FullScreen")) +#else // !LL_DARWIN + .fullscreen(false) +#endif LL_DARWIN +// .ignore_pixel_depth(ignorePixelDepth); gViewerWindow = new LLViewerWindow(window_params); diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp index 9310570136..050635e2c7 100644 --- a/indra/newview/llfloaterpreference.cpp +++ b/indra/newview/llfloaterpreference.cpp @@ -2744,6 +2744,11 @@ static LLRegisterPanelClassWrapper t_pref_privacy("pan BOOL LLPanelPreferenceGraphics::postBuild() { mButtonApply=findChild("Apply"); +// Hide this until we have fullscreen mode functional on OSX again +#ifdef LL_DARWIN + getChild("Fullscreen Mode")->setVisible(FALSE); +#endif // LL_DARWIN +// return LLPanelPreference::postBuild(); }