int blue = (pixel[0]&0xFF)<<16;
x11.XSetForeground(dpy, gc, new NativeLong(alpha|red|green|blue));
x11.XFillRectangle(dpy, pixmap, gc, x, h-y-1, 1, 1);
}
}
x11.XCopyArea(dpy, pixmap, win, gc, 0, 0, w, h, 0, 0);
}
finally {
if (gc != null)
x11.XFreeGC(dpy, gc);
}