rust-windowing / rust-windowing/winit
Support insetting the macOS window buttons
Open
Nobody has claimed this yet.
DS - appkit
S - enhancement
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
Description
Apps like Chrome, Firefox and VS Code add custom insets to the macOS window buttons. It would be useful to be able to do this in Winit apps.
- https://github.com/tauri-apps/tao/pull/513 implements this in Tao
- https://stackoverflow.com/questions/30085631/nswindow-change-positions-of-window-buttons describes a general approach using Swift
Relevant platforms
macOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Tao pull request 513 and the linked Stack Overflow discussion to understand the proposed macOS approach. Then locate Winit's macOS window implementation and determine where equivalent button insets belong; done means Winit apps can configure these insets on macOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100