I just ran one of my existing apps under Catalina for the first time. I got a message box from the system telling me my app wants to read the keyboard from any application and do I want to grant permission. At the same time messages appeared in the Xcode console saying
TCC deny IOHIDDeviceOpen.
Naturally I gave permission but the language around all this seems to be saying that the app wants to monitor the keyboard so it can see anything typed regardless of whether it has focus. Is this the default setup for keyboard handling in SDL? Shouldn’t the app only get input when it has focus? How to I make it do that? I would hate users to be hit with this dialog.
I ran a second app. This time there was no message box, the app ran and was able to receive keyboard input. However the same “deny” messages appeared in the Xcode console.