macos: update accessory in the titlebar should not move the window

This is annoyingly easy to trigger, just disable this.
This commit is contained in:
Mitchell Hashimoto
2025-10-10 10:19:33 -07:00
parent c28104e62f
commit cd7621167f
3 changed files with 15 additions and 1 deletions

View File

@@ -108,7 +108,7 @@ class TerminalWindow: NSWindow {
// Create update notification accessory
if supportsUpdateAccessory {
updateAccessory.layoutAttribute = .right
updateAccessory.view = NSHostingView(rootView: UpdateAccessoryView(
updateAccessory.view = NonDraggableHostingView(rootView: UpdateAccessoryView(
viewModel: viewModel,
model: appDelegate.updateViewModel
))