This commit is contained in:
zhuzichu 2023-12-28 15:07:04 +08:00
parent 9f652a7c76
commit 46f7299362

View File

@ -33,7 +33,7 @@ static inline bool isCompositionEnabled(){
static inline void showShadow(HWND hwnd){
if(isCompositionEnabled()){
const MARGINS shadow = { 1, 1, 1, 1 };
const MARGINS shadow = { 1, 0, 0, 0 };
typedef HRESULT (WINAPI* DwmExtendFrameIntoClientAreaPtr)(HWND hWnd, const MARGINS *pMarInset);
HMODULE module = LoadLibraryW(L"dwmapi.dll");
if (module)