- int xoff=0, yoff=0;
- if (panel_horizontal && panel_position & BOTTOM)
- yoff = p->area.height-p->hidden_height;
- else if (!panel_horizontal && panel_position & RIGHT)
- xoff = p->area.width-p->hidden_width;
- XCopyArea(server.dsp, p->area.pix.pmap, p->hidden_pixmap, server.gc, xoff, yoff, p->hidden_width, p->hidden_height, 0, 0);
+ XCopyArea(server.dsp, p->area.pix, p->hidden_pixmap, server.gc, xoff, yoff, p->hidden_width, p->hidden_height, 0, 0);