From 43ed6369e68965593c5cc156242baa49fa8e71b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 5 Sep 2016 19:13:44 +0000 Subject: Clist_modern: Aero Glass should be supported only for Vista and Win 7 This fixes the black background of default skin with default configuration on Win 8 and Win 10. git-svn-id: http://svn.miranda-ng.org/main/trunk@17258 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_modern/src') diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp index 3f7887eee0..58903af561 100644 --- a/plugins/Clist_modern/src/modern_clui.cpp +++ b/plugins/Clist_modern/src/modern_clui.cpp @@ -305,7 +305,7 @@ HRESULT CLUI::LoadDllsRuntime() g_CluiData.fSmoothAnimation = db_get_b(NULL, "CLUI", "FadeInOut", SETTING_FADEIN_DEFAULT); g_CluiData.fLayered = (g_CluiData.fLayered*db_get_b(NULL, "ModernData", "EnableLayering", g_CluiData.fLayered)) && !db_get_b(NULL, "ModernData", "DisableEngine", SETTING_DISABLESKIN_DEFAULT); - if (IsWinVerVistaPlus()) { + if (IsWinVerVistaPlus() && !IsWinVer8Plus()) { m_hDwmapiDll = LoadLibrary(L"dwmapi.dll"); if (m_hDwmapiDll) g_proc_DWMEnableBlurBehindWindow = (HRESULT(WINAPI *)(HWND, DWM_BLURBEHIND *))GetProcAddress(m_hDwmapiDll, "DwmEnableBlurBehindWindow"); -- cgit v1.2.3