either offsets work, or I've broken lots of things.
authorDerek Foreman <manmower@gmail.com>
Mon, 17 Mar 2003 05:00:46 +0000 (05:00 +0000)
committerDerek Foreman <manmower@gmail.com>
Mon, 17 Mar 2003 05:00:46 +0000 (05:00 +0000)
render/render.c

index fdbab06..49f2b89 100644 (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);
     }