hex/native
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 7b53b8d8bf
macOS: close the Screen Recording guide once Hex reads the grant (#2086)
* macOS: close the Screen Recording guide once Hex reads the grant

The guide checked Screen Recording with CGPreflightScreenCaptureAccess,
which keeps its launch answer for the life of the process, so dragging Hex
into the list never closed the panel and it floated over other apps until
Hex restarted.

Read the grant from TCC's preflight (already used for the microphone and
system audio), and have the macOS host close the guide as soon as the
watched screen access read says granted or needs a restart. Hide the guide
whenever System Settings is not the frontmost app and bring it back when
it is.

* docs: say only the Screen Recording guide reads its grant from TCC
2026-11-20 14:50:03 -05:00
..
permission_guide.m macOS: close the Screen Recording guide once Hex reads the grant (#2086) 2026-11-20 14:50:03 -05:00