More XCB porting. Window type and struts are now set correctly.