view win/dw.rc @ 2212:f903f7576e9d

Win: Use a zeroed out MARGINS struct when not using a "composited" or dark mode title bar Window. When not composited or using the dark mode titlebar (drawing in the titlebar) with NCCALCSIZE we should reset the client area to default by using a zeroed MARGINS. This fixes some display issues introduced by some dark mode titlebar and always composite changes earlier this year. Also added some debug code to help diagnose dark mode titlebar issues, enabed with DEBUG=Y
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 12 Dec 2020 14:18:46 +0000
parents 43c6ecfc598a
children
line wrap: on
line source

#include "winuser.h"
#ifdef DW64
2 RT_MANIFEST dw.dll.x64.manifest
#else
2 RT_MANIFEST dw.dll.x86.manifest
#endif