diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-14 16:02:05 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2020-04-14 16:02:05 +0200 |
| commit | 0948993ec9e08e170d1d22f2c7176b00bd987103 (patch) | |
| tree | 1f707d95bfbbef467dbce2ecc0b3e9c034c9cd4c /alf/alf.cpp | |
| parent | 29393896e21cab201646352cce017992cf0b2ddb (diff) | |
Make notebook bg gradient work. Anti-flicker work throughout the codebase.
Diffstat (limited to 'alf/alf.cpp')
| -rw-r--r-- | alf/alf.cpp | 2 |
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, |
