Repository navigation
Add maximize and minimize button mapping actions - #1341
Conversation
|
Thanks for the contribution! Please update npm run generate:json-schemaIt would also be good to add the new UI strings to the localization catalog. I’ll test it later, but the current implementation may have issues with multiple displays because AX and The build also produces a new warning for the forced |
|
Thanks for the review! I’ve addressed the requested changes: Updated Documentation/Configuration.d.ts I also rebuilt and reran the full test suite successfully, and verified Maximize/Minimize still work as expected on the hardware I have available. |
|
I’ve pushed a few follow-up changes to the branch: formatted |
|
Thanks for the review, follow-up improvements, and merge! I really appreciate the extra polish on the maximization behavior and localization. Glad I could contribute! |
Adds two new Button Mapping actions:
Maximize Window
Minimize Window
Maximize Window resizes the focused window to the usable area of its display while preserving the menu bar and Dock, rather than entering macOS full-screen mode.
Minimize Window minimizes the focused window to the Dock using the macOS Accessibility API.
These actions work with the existing Button Mapping system, including the swipe triggers introduced in #1326.
Tested successfully with:
Logitech MX Master 4
Samsung Bluetooth Mouse Slim
Verified:
Maximize correctly fits the focused window within the visible screen area
Minimize correctly sends the focused window to the Dock
Full test suite passes
SwiftFormat lint passes