removed warning in XWindow