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 5203

Summary: Creating window from SDL_CreateWindowFrom does not fire internal view events (e.g. resetCursorRects) on OS X
Product: SDL Reporter: Konrad <iryont>
Component: videoAssignee: Sam Lantinga <slouken>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.13   
Hardware: x86_64   
OS: macOS 10.15   

Description Konrad 2020-06-19 12:10:22 UTC
I believe this is a bug from SDL2 in which creating a custom window (NSWindow and NSView) and using SDL_CreateWindowFrom on it does lead to a situation where events from normally inheritable SDLView of NSView (SDL_cocoawindow.m) such has e.g. resetCursorRects or acceptsFirstMouse are not working since custom view does not inherit those event handlers. This is after all crucial for the application behavior.