Added rect argument to setwindowed in x11