summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch')
-rw-r--r--abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch b/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch
new file mode 100644
index 0000000..d112e52
--- /dev/null
+++ b/abs/extra-testing/community/xbmc-svn/xbmc-safe-fullscreen.patch
@@ -0,0 +1,23 @@
+Index: xbmc/Application.cpp
+===================================================================
+--- xbmc/Application.cpp (revision 20059)
++++ xbmc/Application.cpp (working copy)
+@@ -873,6 +873,8 @@
+ #endif
+
+ // set GUI res and force the clear of the screen
++ if (g_guiSettings.GetBool("videoscreen.safefull"))
++ g_guiSettings.m_LookAndFeelResolution = AUTORES;
+ g_graphicsContext.SetVideoResolution(g_guiSettings.m_LookAndFeelResolution, TRUE, true);
+
+ #ifdef _WIN32PC
+@@ -949,6 +951,9 @@
+ time(&seconds);
+ srand((unsigned int)seconds);
+
++ if (g_guiSettings.GetBool("videoscreen.safefull"))
++ g_graphicsContext.ToggleFullScreenRoot();
++
+ return CXBApplicationEx::Create(hWnd);
+ }
+