Win32: Fix windows build with WINVER >= Vista

In 32e78aeb2 the definition of DWM_BLURBEHIND in win32_platform.h was
moved behind a WINVER < 0x0600 preprocessor check (< Vista). This broke
the build for WINVER >= 0x0600 since DWM_BLURBEHIND is not defined.

Starting with Vista DWM_BLURBEHIND is available in Dwmapi.h.
So we can just include the header directly on Vista and above.

Closes #1253.
This commit is contained in:
Andreas Noever 2018-04-15 10:23:34 +02:00 committed by Camilla Löwy
parent 8b9221d845
commit fcc244ea6d

View File

@ -120,6 +120,8 @@ typedef struct
HRGN hRgnBlur;
BOOL fTransitionOnMaximized;
} DWM_BLURBEHIND;
#else
#include <Dwmapi.h>
#endif /*Windows Vista*/
#ifndef DPI_ENUMS_DECLARED