either offsets work, or I've broken lots of things.

This commit is contained in:
Derek Foreman 2003-03-17 05:00:46 +00:00
parent a0a55d5761
commit e659f95516

View file

@ -94,7 +94,7 @@ void x_paint(Window win, Appearance *l, int x, int y, int w, int h)
im->byte_order = endian;
im->data = l->surface.data.planar.pixel_data;
XPutImage(ob_display, l->pixmap, DefaultGC(ob_display, ob_screen),
im, 0, 0, 0, 0, w, h);
im, 0, 0, x, y, w, h);
im->data = NULL;
XDestroyImage(im);
}