W dniu 13.06.2011 19:47, Tomasz Bąk pisze:
For me pointer should be captured only when i click game area. Not Window bar, borders or anything.
I don't seem to be able to do this unfortunately. SDL does not know if the application is going to capture input. If I explicitly make SDL wait until click, all apps that does not capture input (like EL) will require user to click before they work which will be painful.
Best regards, Krzysztof