Conversation
Added two calls that make sure that programs using SDL properly capture the mouse cursor when the user clicks on the window.
|
Thanks! I agree that it can certainly be very useful to capture the mouse cursor at times, especially for things like games, but app.h is something I use for all sorts of applications, and for many of them, having the cursor captured would be undesireable. So in app.h, there's an API I'm not sure when I'll get around to trying an implementation of this. Maybe a reasonable intermediate step is to have |
Added two calls that make sure that programs using SDL properly capture the mouse cursor when the user clicks on the window. In dos-like on Linux this had caused the mouse to never be captured.