Basic windows after moving from SDL2 to Xlib