rust-windowing / rust-windowing/winit

Broadcast monitor changes

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

Nobody has claimed this yet.

C - needs discussion S - api
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

To implement certain things downstream like frame scheduling or getting refresh rate of the monitor based on the monitor the window is on we should be able to notify downstream via events that window got entered specific monitor. Also when the window mod is changing we should do that as well.

I'm not sure how to structure it, but it could be like that.

enum WindowEvent {
    MonitorChanges(Vec<MonitorHandle>)
}

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

No files or tests are identified. Start by examining the existing WindowEvent API and monitor/window handling, then determine how downstream consumers should be notified when a window enters a monitor or its monitor assignment changes; done means the event structure and behavior are agreed and implemented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.