rust-windowing / rust-windowing/winit

Winit doesn't support X11 on Darwin

Open
#4,597 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

B - bug DS - appkit
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

Description

This causes alacritty to use a regular window instead of running in an x11 environment even when WINIT_UNIX_BACKEND=x11 is specified and the binary is built with the x11 feature. See https://github.com/rust-windowing/winit/blob/7fe8c206aea89e70e8c56c3315266337c56cee8f/winit/Cargo.toml#L100-L105

macOS version
ProductName:		macOS
ProductVersion:		27.0
BuildVersion:		26A5353q
Winit version

latest

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 with the referenced winit/Cargo.toml feature configuration and trace how WINIT_UNIX_BACKEND=x11 is handled on macOS. Reproduce with an alacritty binary built with the x11 feature, then verify that the requested X11 backend is used instead of a regular window.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.