XSetState(_display, _gc, 0, 0, GXcopy, AllPlanes);
XFillRectangle(_display, _pixmap, _gc, 0, 0, _width, _height);
XFlush(_display);
XSetState(_display, _gc, 0, 0, GXcopy, AllPlanes);
XFillRectangle(_display, _pixmap, _gc, 0, 0, _width, _height);
XFlush(_display);