linebender / linebender/druid

track active window

Open
#167 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As part of #156 I included a new method to WinHandler, got_focus(). This should be called whenever focus changes to a different window. This is implemented in mac but needs to be implemented for windows.

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 WinHandler trait and its existing got_focus() implementation for macOS, then trace the Windows window-focus event path. Implement the corresponding Windows notification so got_focus() is called whenever focus changes to a different window, and verify the behavior with the relevant platform tests or manual Windows testing.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.