We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5248 - macOS keystroke receiving security popup
Summary: macOS keystroke receiving security popup
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 1.2
Hardware: x86_64 macOS 10.15
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-05 20:49 UTC by Dominik Reichardt
Modified: 2020-12-21 13:26 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Reichardt 2020-08-05 20:49:52 UTC
DOSBox still uses SDL 1.2x and when you open the DOSBox app a system dialog pops up:

"Keystroke receiving:
Dosboxsvn.app would like to receive keystrokes from any application.
Grant access to this application in Security& Privacy preferences, located in System Preferences."
every time, no matter wheter you deny it or grant access. I know you fixed it for SDL2, maybe you can fix this for SDL 1.2x, too.
Comment 1 Ozkan Sezer 2020-12-13 22:31:38 UTC
Ryan, do you have a patch for this?

(Which commit fixed it for SDL-2.x?)
Comment 2 Cameron Gutman 2020-12-14 17:55:23 UTC
The patch for SDL2 was https://hg.libsdl.org/SDL/rev/6a3b2cc9d66c
Comment 3 Ozkan Sezer 2020-12-21 13:26:59 UTC
(In reply to Cameron Gutman from comment #2)
> The patch for SDL2 was https://hg.libsdl.org/SDL/rev/6a3b2cc9d66c

I see. Code is completely different between 1.2 and 2.0...