Skip to content

Fetch all geometry needed for focus ordering in one reflow - #84

Merged
trissim merged 3 commits into
mainfrom
perf/focus-geometry-demand-20261006
Oct 7, 2026
Merged

trissim merged 3 commits into
mainfrom
perf/focus-geometry-demand-20261006

Conversation

@trissim

@trissim trissim commented Oct 7, 2026 •

Copy link
Copy Markdown

A new Compositor.acquire_geometry takes several widgets, finds the ones with no published geometry, and reflows the visible region once with all of them as targets. find_widget uses it, and Screen focus-chain code is changed to ask for the whole set up front instead of reflowing for each missing widget. Two test files are updated, and a TODO comment about focus-chain cost is removed from screen.py.

@trissim
trissim marked this pull request as ready for review October 7, 2026 01:10
Copilot AI balanced review requested due to automatic review settings October 7, 2026 01:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit be28b17 into main Oct 7, 2026
0 of 22 checks passed
@trissim trissim changed the title Acquire focus ordering paths together Fetch all geometry needed for focus ordering in one reflow Oct 11, 2026
@trissim
trissim deleted the perf/focus-geometry-demand-20261006 branch October 11, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants