rust-windowing / rust-windowing/winit

Doesn't return focus to i3 when closing

Open
#516 22 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm using winit with conrod on the i3 window manager. I've noticed that often when I close my app with another i3 window open (usually the terminal I launched the app from), i3 stops responding until I move the mouse to the top of the other window. I'd be happy to look into fixing this myself if anyone has suggestions on where to start. I don't have any experience with X11 and I'm still rather new to Rust.

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

Reproduce the focus problem by closing a winit application under i3 with another window open, using the reported conrod setup. Start by tracing the X11 window-close and focus behavior; done means i3 continues responding immediately after the application closes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.