From ef0a9845447a2e6c12f6685474cfce6e0dda5089 Mon Sep 17 00:00:00 2001 From: jsmorley Date: Fri, 14 May 2010 02:49:53 +0000 Subject: [PATCH] Reversing previous change to "On Desktop" as default for new skins. --- Library/MeterWindow.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Library/MeterWindow.cpp b/Library/MeterWindow.cpp index f098054d..3635a67f 100644 --- a/Library/MeterWindow.cpp +++ b/Library/MeterWindow.cpp @@ -88,7 +88,7 @@ CMeterWindow::CMeterWindow(std::wstring& path, std::wstring& config, std::wstrin m_AnchorYPercentage = false; m_AnchorScreenX = 0; m_AnchorScreenY = 0; - m_WindowZPosition = ZPOSITION_ONDESKTOP; + m_WindowZPosition = ZPOSITION_NORMAL; m_WindowDraggable = true; m_WindowUpdate = 1000; m_TransitionUpdate = 100; @@ -1410,7 +1410,6 @@ void CMeterWindow::ReadConfig() m_WindowY = buffer; } - // Changed to make the default "On Desktop" - JSMorley : May 11, 2010 int zPos = parser.ReadInt(section, L"AlwaysOnTop", m_WindowZPosition); if (zPos == -1) { @@ -1420,10 +1419,6 @@ void CMeterWindow::ReadConfig() { m_WindowZPosition = ZPOSITION_ONDESKTOP; } - else if (zPos == 0) - { - m_WindowZPosition = ZPOSITION_NORMAL; - } else if (zPos == 1) { m_WindowZPosition = ZPOSITION_ONTOP; @@ -1434,7 +1429,7 @@ void CMeterWindow::ReadConfig() } else { - m_WindowZPosition = ZPOSITION_ONDESKTOP; + m_WindowZPosition = ZPOSITION_NORMAL; } m_WindowDraggable = 0!=parser.ReadInt(section, L"Draggable", m_WindowDraggable);