This commit is contained in:
zhuzihcu
2023-03-01 22:06:48 +08:00
parent 392f6e0047
commit c8ed6b9ced
9 changed files with 148 additions and 9 deletions

View File

@ -118,7 +118,8 @@ public:
if (oldStyle != newStyle)
{
borderless = enabled;
::SetWindowLongPtrW(handle, GWL_STYLE, static_cast<LONG>(newStyle));
//todo 有待研究这个
// ::SetWindowLongPtrW(handle, GWL_STYLE, static_cast<LONG>(newStyle));
// when switching between borderless and windowed, restore appropriate shadow state
setShadow(handle, borderless_shadow && (newStyle != Style::windowed));