--- rxvt-unicode/src/scrollbar-next.C 2004/04/08 20:31:45 1.10 +++ rxvt-unicode/src/scrollbar-next.C 2004/07/31 15:32:50 1.11 @@ -124,7 +124,7 @@ Pixmap d; GC pointcolour; - d = XCreatePixmap (display->display, scrollBar.win, width, height, XDEPTH); + d = XCreatePixmap (display->display, scrollBar.win, width, height, display->depth); for (y = 0; y < height; y++) {