SDL2 error

Hi,
I’m using SDL1.2 and 2.0 on my game and SDL2 have presented problems.
Basically, when pass SDL_WINDOW_MINIMIZED and _MAXIMIZED to SDL_CreateWindow() the window it’s shows no borders, like if I had passing a SDL_WINDOW_BORDERLSS, but this happens on SDL2-2.0.1 and 2.0.2.
On SDL2-2.0.2 happens a little more things. When active fullscreen, the image of the game stays like if it had on negative position, on the two axis. Then if deacitve the fullscreen, the window stays like if it had on negative position on Y axis.

So, how to fix this?

NOTE: I’m running e compilling on Linux Ubuntu 12.04------------------------
My project