Repository navigation
feat(client): macOS/Linux 游戏模式焦点还原与平台热键 - #3
Merged
Merged
Conversation
呼出输入框前记下前台、关闭后还原(Win32 / NSRunningApplication / X11)。 macOS 默认 Ctrl+Shift+G,浮层跟随所有 Spaces;纯 Wayland 无法还原焦点。 Co-authored-by: AppDuck <aocac@users.noreply.github.com>
aocac
marked this pull request as ready for review
September 17, 2026 14:09
Keep both roadmap items done; test baselines 105 server + 55 client. Co-authored-by: AppDuck <aocac@users.noreply.github.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.
呼出输入框前记下前台、关闭后再还原,让游戏模式在 macOS / Linux 上也能把焦点还给游戏。不依赖 PR #2,未部署生产。
改动
capture_foreground/restore_foreground:Windows Win32、macOSNSRunningApplication、Linux X11(无DISPLAY时跳过)Ctrl+Shift+G(Option+G 会输入 ©);已保存的Alt+G会自动迁移;Command 键录成CommandvisibleOnAllWorkspaces(macOS Spaces)屏幕采集仍然只在 Windows 上提供。
验证
tsc绿cargo check绿(x11rb 路径)不包含
BACKUP_S3_*