Skip to content

SquareCorners v2.1

Choose a tag to compare

@70V07 70V07 released this 08 Feb 11:13
· 9 commits to main since this release
8c21909

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.