summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-09-05 19:13:44 +0000
committerRobert Pösel <robyer@seznam.cz>2016-09-05 19:13:44 +0000
commit43ed6369e68965593c5cc156242baa49fa8e71b5 (patch)
treea9c1494df94808bba87ac712dc9883b3f6260090 /plugins/Clist_modern/src
parent3dc956a73004c98c3c96cb8635c28f7646bdbde8 (diff)
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
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp2
1 files changed, 1 insertions, 1 deletions
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");