I’m a video game student trying to do a complete UI library.
I have noticed that SDL doesn’t detect a click made in the middle of the window at the same time the window gains focus (SDL_WINDOWEVENT_FOCUS_GAINED) is thrown, but there is no “Mouse Down” event.
Is there a way to fix / fake this? I’ve tried using PushEvent(), which kinda does the job, but SDL doesnt detect the “Mouse Up” after that one.
Thanks for all answers!