rust-windowing / rust-windowing/winit
Add support for inhibiting system shortcuts
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
A mechanism to inhibit system shortcuts is generally necessary for things like virtual machines, remote desktop, and system shortcut configuration dialogs. This would also be useful for the Winit backend of Smithay, similarly to a VM or remote desktop client.
In GTK4 this is supported with gdk_toplevel_inhibit_system_shortcuts, which seems to be supported on Wayland, X11, and Windows. On Wayland this works through the Keyboard shortcuts inhibit protocol.
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 reviewing the Winit backend of Smithay and the platform behavior described by GTK4's gdk_toplevel_inhibit_system_shortcuts. Compare the Wayland Keyboard shortcuts inhibit protocol with the stated X11 and Windows support. Done means Winit exposes a mechanism that inhibits system shortcuts across the supported platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100