[Bug 678] Changed - BadWindow in XChangeWindowAttributes