mirror of
https://github.com/aaddrick/claude-desktop-debian.git
synced 2026-05-17 00:26:21 +03:00
Upstream migrated the About window from titleBarStyle:"" to titleBarStyle:"hiddenInset" (build-reference/.../index.js:524746). isPopupWindow() stopped matching it, so About got frame:true and the main-window resize handlers, breaking its render on GNOME/X11. Picks up @Hayao0819's #489 with two adjustments on top of his fix: - Refresh the stale window-kind comment block. All three of the documented titleBarStyle values were wrong post-migration; the block now reflects current upstream and the Hardware Buddy child modal at index.js:536666 that didn't exist when the original comment was written. - Add a 'parent' in options early-return. Hardware Buddy declares `parent: Et ?? void 0` and shares the About window's titleBarStyle / no-minWidth shape -- without the parent check, the extended match would strip its frame and attach main-window handlers to it. Same failure mode as #481, just on a different window. Hayao0819's diagnosis and one-line logic extension are preserved. Fixes #481 Co-Authored-By: hayao <shun819.mail@gmail.com> Co-Authored-By: Claude <claude@anthropic.com>