fix: keep main windows movable for Swish#5001
Conversation
|
@fairusage is attempting to deploy a commit to the Manaflow Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR enables window movability in CmuxMainWindow by setting ChangesWindow movability for accessibility and external window managers
🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 17 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (17 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR changes
Confidence Score: 5/5Safe to merge. The one-line production change is well-scoped and the existing move-suppression and mouseDownCanMoveWindow mechanisms already prevent unintended window movement. The change is minimal: a single boolean flip in configureCmuxMainWindowDragBehavior. The three complementary guards — isMovableByWindowBackground = false, mouseDownCanMoveWindow = false on NSHostingView, and the beginWindowMoveSuppressionSequence / finishWindowMoveSuppressionSequence pair — correctly preserve the tab-safe drag contract with the new true baseline. The test is updated to match and directly covers all mutated assertions. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix: keep main windows movable for Swish" | Re-trigger Greptile |
Summary
isMovableso Accessibility-based window managers like Swish can attach titlebar gesturesisMovableByWindowBackground = falseso app content does not become an implicit drag regionFixes #1383.
Testing
xcodebuildfails withtool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance.Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.Summary by cubic
Keep main windows movable so Swish and other Accessibility-based window managers can attach titlebar gestures. Background drags stay disabled; only explicit titlebar zones start drags. Fixes #1383.
isMovable = trueand keepisMovableByWindowBackground = falsein main window config.Written for commit 79effca. Summary will update on new commits.
Summary by CodeRabbit