Skip to content

fix: 修复 macOS 全屏窗口还原 - #6

Merged
quietseek merged 1 commit into
quietseek:mainfrom
yyyzl:fix/macos-fullscreen-controls
Nov 18, 2026
Merged

quietseek merged 1 commit into
quietseek:mainfrom
yyyzl:fix/macos-fullscreen-controls

Conversation

@yyyzl

@yyyzl yyyzl commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

问题与修复

macOS 系统全屏时,标题栏绿色按钮只切换普通最大化状态,无法退出全屏。本修改在全屏状态下退出全屏,普通窗口保持原来的最大化行为。

Closes #3

验证

  • macOS 15.7.3:隔离测试版中,通过系统菜单进入全屏,点击绿色按钮后恢复普通窗口;系统窗口排列菜单从禁用变为可用。该测试版同时包含复制/粘贴快捷键修复。
  • go test ./... 通过;新增测试覆盖全屏与普通窗口两种状态,并在修复前确认全屏用例失败。

@quietseek
quietseek merged commit a8599f1 into quietseek:main Nov 18, 2026
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.

macOS 全屏时右侧绿色按钮无法返回普通窗口

2 participants