Repository navigation
Open the launcher in one frame: keep its surface mapped - #76
Open
nchudleigh wants to merge 1 commit into
Open
nchudleigh wants to merge 1 commit into
nchudleigh wants to merge 1 commit into
Conversation
Each open mapped a new layer surface, and the output's size and scale arrived a few frames later, so the card appeared ~130 ms after the hotkey. The surface now stays mapped once opened; hidden, it is transparent, takes no input and no keyboard, so opening is one commit. It is remapped only to move to another monitor. Hiding already rebuilds the root list, so opening reuses it when the candidates and stores are unchanged instead of searching again. Open to visible: ~130 ms -> 5-7 ms plus a frame. The smoke test now times the keyboard handoff, since a mapped layer sends no open/close events. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each open mapped a new layer surface. The output's size arrived about 14 ms later and its scale about 54 ms later, so the card showed roughly 130 ms after the hotkey. Every open also ran the root search again.
keyboardFocus: None), so opening is a single commit. It is pinned to the focused monitor and only remapped to move to another one.tests/smoke.shnow times the keyboard handoff by polling the layer'skeyboard_interactivity, since a mapped layer sends no open or close events.Measured in the shell, from the open request to the content showing: about 130 ms before, 5–7 ms after (plus one frame). The first open after a reload still maps the surface. The smoke test's numbers include about 45 ms for the
omacastCLI round trip, which the hotkey doesn't use.Checked: typing reaches the launcher, the keyboard goes back to the window when it hides, and
node --test tests/passes. Not checked: clicks passing through the hidden surface (no pointer tool on the test machine). Quickshell treats an emptyRegionmask as no input.🤖 Generated with Claude Code