tao icon indicating copy to clipboard operation
tao copied to clipboard

Migrate from `SetWindowCompositionAttribute` to `DwmSetWindowAttribute`

Open Legend-Master opened this issue 1 year ago • 0 comments

According to https://learn.microsoft.com/en-us/windows/win32/dwm/setwindowcompositionattribute

The use of this API is not recommended. Use DwmSetWindowAttribute instead.

https://github.com/tauri-apps/tao/blob/88e1e32901fff8de329ec948b5b858ed05dcde78/src/platform_impl/windows/dark_mode.rs#L175-L211

(should be opening a blank issue, not from the bug template, sorry about that)

Legend-Master avatar Mar 22 '24 01:03 Legend-Master