Skip to content

Fix screen flicker when activating XDR overlay#13

Open
thomasl wants to merge 1 commit intolevelsio:mainfrom
thomasl:claude/cranky-rosalind
Open

Fix screen flicker when activating XDR overlay#13
thomasl wants to merge 1 commit intolevelsio:mainfrom
thomasl:claude/cranky-rosalind

Conversation

@thomasl
Copy link
Copy Markdown

@thomasl thomasl commented Apr 6, 2026

Title: Fix screen flicker when activating XDR overlay

Body:

Summary

  • Show overlay window at zero opacity, reveal only after Metal renders the first frame — prevents the brief transparent/black flash on activation
  • Resize overlay in-place on display changes instead of tearing down and recreating with a 0.5s gap

Test plan

  • Toggle XDR on/off — no flash on activation
  • Change brightness level while active — no flash
  • Plug/unplug external display while active — no flash
  • Close/reopen laptop lid — brightness restores without flash
  • Watchdog recovery after sleep/wake — no flash

🤖 Generated with Claude Code

Show the overlay window with zero opacity and reveal it only after Metal
renders the first frame, preventing the brief transparent/black flash.
Also resize the overlay in-place on display changes instead of tearing
down and recreating it with a 0.5s gap.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@thomasl
Copy link
Copy Markdown
Author

thomasl commented Apr 6, 2026

Club-level flicker when used on MBP Max 2 Tahoe 26.3.1; asked Claude to fix this. This PR seems to work fine on the same computer.

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.

1 participant