rust-windowing / rust-windowing/winit

Add support for inhibiting system shortcuts

Open
#2,776 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

DS - wayland DS - web DS - win32 DS - x11 S - api
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.