# macOS 10.15 new permission prompts

**URL:** <https://discourse.libsdl.org/t/macos-10-15-new-permission-prompts/26251>\
**Category:** SDL Development\
**Created:** [June 7, 2019, 5:07pm UTC](https://discourse.libsdl.org/t/macos-10-15-new-permission-prompts/26251 "2019-06-07T17:07:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![icculus](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/icculus/32/81_2.png) [@icculus](https://discourse.libsdl.org/u/icculus)\
**Post date:** [June 26, 2019, 4:44pm UTC](https://discourse.libsdl.org/t/macos-10-15-new-permission-prompts/26251/4 "2019-06-26T16:44:23Z")

</div>

Looks like the event tap is disabled by default (you need to manually define SDL\_MAC\_NO\_SANDBOX when building SDL to get it, which we don’t anywhere).

It’s definitely the capslock code that triggers this notification; it goes away if I comment it out.

Is there any reason we can’t just use -[NSResponder flagsChanged] for this instead of IOKit? Apple docs suggest that’ll work:

[https://developer.apple.com/library/archive/qa/qa1519/\_index.html](https://developer.apple.com/library/archive/qa/qa1519/_index.html)

Maybe this goes out of sync if the keyboard focus changes?

---

_[View the full topic](https://discourse.libsdl.org/t/macos-10-15-new-permission-prompts/26251)._
