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 - Creating window from SDL_CreateWindowFrom does not fire internal view events (e.g. resetCursorRects) on OS X
Summary: Creating window from SDL_CreateWindowFrom does not fire internal view events ...
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.13
Hardware: x86_64 macOS 10.15
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-19 12:10 UTC by Konrad
Modified: 2020-06-19 12:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.