linebender / linebender/druid

X11 shell should use timers for fallback painting.

Open
#1,186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted maintenance shell/x11
Dominant language
Rust
Stars
9.7k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

The fallback painting code should be changed to use timers. Right now it uses the idle loop, but this isn't ideal: it forces us to either write a bunch of special-case code for painting or else rate-limit the idle loop to avoid painting to often (this is the current state).

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

Locate the X11 shell's fallback painting code and the idle-loop path it currently uses. Read how timers are handled in that shell, then change the fallback painting to use timers instead of the idle loop; done means painting no longer depends on idle-loop rate limiting or special-case handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.