Repository navigation
fix: preserve window layout identities across restarts and screen lock - #7
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3aa96a3d1a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99b9c23f95
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Summary
SLSGetWindowBoundsfor original position and size, avoiding transient lock-animation geometry. Do not label CG-only records as AX standard windows: persist unknown role/subrole plusrequiresExactIdentity, and restore them only after exact identity and current AX standard-window type are verified.Compatibility
_AXUIElementGetWindowidentity interface and the privateSLSMainConnectionID/SLSGetWindowBoundsgeometry interfaces. Private-API compatibility and App Store distribution risks remain.Verification
swift test: 210 tests passed on this branch.swift build -c release: passed.git diff --check: passed.(0, 33, 1512, 884)while CG bounds shrank to(75, 78, 1362, 797). This does not establish compatibility for every application, display topology, or macOS version.