You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
White Border Artifacts: Implemented an exclusion system to prevent applying styles to incompatible windows.
System Dialogs: Windows with class #32770 (e.g., File Properties, Run dialog) are now ignored, preventing the double-border glitch.
Third-Party Apps: Added specific exclusion for GoogleDriveFS.exe which uses a custom rendering engine incompatible with forced corner preferences.
StartAllBack / Mica Compatibility: Resolved conflicts where StartAllBack's Mica effect was disabled. The application no longer overrides DWMWA_CAPTION_COLOR, allowing the system or third-party themes to handle transparency and window borders naturally.
Memory Leak: Implemented UnhookWinEvent and stored hookHandle to ensure clean resource release on process termination.
Race Conditions: Added IsWindowVisible check and idChild filtering to prevent applying styles to invalid window handles or system ghost objects.
Changed
SetWindowPos Flags: Updated to 0x0037 (added SWP_NOACTIVATE) to prevent the application from stealing focus.
Simplification: Removed internal Registry polling for Accent Colors. This greatly improves performance and stability by reducing I/O operations and letting Windows manage the theme colors natively.
Added
P/Invoke signatures for GetClassName and GetWindowThreadProcessId to support the new window filtering logic.