Repository navigation
Conversation
Raising the chosen window shared the serial scan queue with the 0.4s background window scan, so a switch committed mid-scan waited for the whole scan to finish. Activation now runs on its own queue. Adds --activation-busy-scan-self-check to verify a switch completes while a scan is still in progress.
This branch has not been deployed
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.
快速按 ⌘Tab 切换时偶尔会有明显延迟。原因是激活窗口和每 0.4 秒一次的后台窗口扫描共用一个串行队列,切换刚好碰上扫描时,要等整轮扫描结束才执行。
改动:
--activation-busy-scan-self-check,验证扫描进行中也能立即完成切换。