summaryrefslogtreecommitdiff
path: root/alf/alf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alf.cpp')
-rw-r--r--alf/alf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp
index ecf2e7f..c59cdbb 100644
--- a/alf/alf.cpp
+++ b/alf/alf.cpp
@@ -532,7 +532,7 @@ ALF_UnregisterWindowClass(HINSTANCE hinstance, LPCTSTR className)
HWND ALF_InstantiateWindow(HINSTANCE hinstance, LPCTSTR className, HWND hwndParent, void *closure)
{
- return CreateWindowEx(0,
+ return CreateWindowEx(ALF_Compat_IsMinWindowsVersion(5, 1) ? WS_EX_COMPOSITED : 0,
className,
TEXT("Window"),
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN,