Make FancyZones not zone invisible, child and tool windows

Fixes "Move newly created windows to their last known zone"
This commit is contained in:
Bartosz Sosnowski
2019-12-03 18:13:46 +01:00
committed by Bartosz Sosnowski
parent cbe6d19c79
commit 0e2d93c630
2 changed files with 7 additions and 4 deletions

View File

@@ -215,7 +215,9 @@ private:
}
}
}
return true;
// Don't zone child windows and tool window
return (GetWindowLongPtr(window, GWL_STYLE) & WS_CHILD) == 0 &&
(GetWindowLongPtr(window, GWL_EXSTYLE) & WS_EX_TOOLWINDOW) == 0;
}
void Disable(bool const traceEvent)