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

Summary: macOS keystroke receiving security popup
Product: SDL Reporter: Dominik Reichardt <sdl-bugzilla>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: cameron.gutman, sezeroz
Version: HG 1.2   
Hardware: x86_64   
OS: macOS 10.15   

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...