Skip to content

Conversation

@codefromthecrypt
Copy link
Contributor

@codefromthecrypt codefromthecrypt commented Dec 30, 2025

Adds a warning log when Window::all() is called without Screen Recording permission on macOS.

When permission is denied, CGWindowListCopyWindowInfo returns limited data (missing window names, sharing state = 0). Users often don't realize this is a permission issue. The warning helps them diagnose the problem.

Adds a warning log when Window::all() is called without Screen Recording
permission. When permission is denied, CGWindowListCopyWindowInfo returns
limited data (missing window names, sharing state = 0). This warning helps
users diagnose the problem.

Signed-off-by: Adrian Cole <[email protected]>
@nashaofu nashaofu merged commit 4a2fc15 into nashaofu:master Jan 1, 2026
4 checks passed
@codefromthecrypt codefromthecrypt deleted the feat/macos-permission-warning branch January 2, 2026 06:50
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.

2 participants