aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
Diffstat (limited to 'guilib')
-rw-r--r--guilib/GUIWindowManager.cpp5
-rw-r--r--guilib/Key.h3
-rw-r--r--guilib/SkinInfo.cpp2
3 files changed, 8 insertions, 2 deletions
diff --git a/guilib/GUIWindowManager.cpp b/guilib/GUIWindowManager.cpp
index 6b82842aac..8e69ba4652 100644
--- a/guilib/GUIWindowManager.cpp
+++ b/guilib/GUIWindowManager.cpp
@@ -29,6 +29,7 @@
#include "Util.h"
#include "GUISettings.h"
#include "Settings.h"
+#include "SkinInfo.h"
using namespace std;
@@ -360,6 +361,10 @@ void CGUIWindowManager::ActivateWindow_Internal(int iWindowID, const vector<CStd
// destination path cannot be used with virtual window
passParams = false;
}
+ if (iWindowID == WINDOW_START)
+ { // virtual start window
+ iWindowID = g_SkinInfo.GetStartWindow();
+ }
// debug
CLog::Log(LOGDEBUG, "Activating window ID: %i", iWindowID);
diff --git a/guilib/Key.h b/guilib/Key.h
index b5f0113215..965dd5eb19 100644
--- a/guilib/Key.h
+++ b/guilib/Key.h
@@ -380,7 +380,8 @@
#define WINDOW_MUSIC_OVERLAY 12903
#define WINDOW_VIDEO_OVERLAY 12904
-#define WINDOW_STARTUP 12999 // for startup animations
+#define WINDOW_START 12998 // first window to load
+#define WINDOW_STARTUP_ANIM 12999 // for startup animations
// WINDOW_ID's from 13000 to 13099 reserved for Python
diff --git a/guilib/SkinInfo.cpp b/guilib/SkinInfo.cpp
index 2e3a6aa812..4108749ccf 100644
--- a/guilib/SkinInfo.cpp
+++ b/guilib/SkinInfo.cpp
@@ -336,6 +336,6 @@ int CSkinInfo::GetFirstWindow() const
{
int startWindow = GetStartWindow();
if (HasSkinFile("Startup.xml") && (!m_onlyAnimateToHome || startWindow == WINDOW_HOME))
- startWindow = WINDOW_STARTUP;
+ startWindow = WINDOW_STARTUP_ANIM;
return startWindow;
}