Okay, I just detected something weird. I installed for testing and compiling a 32bit Xubuntu 13.10. One thing what is pleasant is that the SDL2 libs are now in the repository. One not so pleasant thing is that fullscreen mode does not work as expected. Starting a program in windowed mode and going to fullscreen results in a crash. The only thing that works is this (an example):
win:=openwindow ('Parallax',-1,-1,0,0);
setvirtualsize (1920,1080);
togglefullscreen;
This sets the width and height to 0 and toggles to the fullscreen with the current desktop resolution. You can set however the virtual resolution like you want (e.g. 1024 x 768). But it is not possible to toggle to windowed mode because the window is set to 0 x 0. A work around could be to use two windows and if the user wants to leave the fullscreen mode to show the second window.
I have to check this with other 32bit Linux distros (or is it because of XFCE?) On my 64bit Kubuntu everything works as expected ...
Anyone willing to test Linux binaries?