Mercurial > dwindows
annotate win/dwtest.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 |
rev | line source |
---|---|
1855
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
1 #include "winuser.h" |
1865
43c6ecfc598a
It seems WIN64 is defined in 32-bit mode using MinGW... so switch
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1855
diff
changeset
|
2 #ifdef DW64 |
1855
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
3 1 RT_MANIFEST dwtest.exe.x64.manifest |
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
4 #else |
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
5 1 RT_MANIFEST dwtest.exe.x86.manifest |
72a75442c51d
Updated MinGW makefile to support picking 32-bit or 64-bit based
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
6 #endif |