XWindow utilities