I could derive from RenderWindow to keep track, and access it everywhere :roll: , other ways involve adding a "Last Mouse Position" variables in a lot of places and really error-prone.
It's a commodity, I know, but it's useful.
You can't say this lib is minimalistic thou... it's really big.
It's easy to learn, easy to understand, pretty verbose, well documented... but it's far from minimal.
Compare it with "raw" SDL... You'll know what I mean (loading yourself the audio buffer, accessing pixels, no loading of images other than BMP... that's minimalistic)
Adding two variables to the event struct doesn't bloat the code.
Regards
-Martín