-
-
Notifications
You must be signed in to change notification settings - Fork 444
Labels
Milestone
Description
Summary
Currently all SDL events get blindly dispatched to the window polling the message loop. Instead the events should be dispatched to the window as provided by the event's window id or (if not set) to the window having focus.
Steps to reproduce
- Platform: Desktop
- Framework Version: .NET Core 3
- Add a second window to the basic example in the 2.0 branch
- Prioritize SDL
- See all events getting routed to the window calling DoEvents
Comments
Maybe something like https://github.com/stride3d/stride/blob/master/sources/engine/Stride.Graphics/SDL/Application.cs should be introduced? What would be the proper approach?
Sadly I can't really build the solution. It's complaining about files not being found under C:\Silk.NET\... - once I move everything there, Visual Studio goes completely nuts, eating up all of my memory and in git I see >2000 or more *.gen.cs files. I guess that's not how it's supposed to be?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done