SDL2: fix toggling fullscreen. dunno how well this works on non-linux-OS
if it works well, then resizing could be made way more responsive too
This is version 3.1 of the iniparser library developed by N. Devillard.
See http://ndevilla.free.fr/iniparser/ for details and new versions.