--- rxvt-unicode/src/scrollbar-next.C 2006/01/25 21:03:04 1.21 +++ rxvt-unicode/src/scrollbar-next.C 2006/01/25 21:09:21 1.22 @@ -123,7 +123,7 @@ Pixmap d; GC pointcolour; - d = XCreatePixmap (display->display, scrollBar.win, width, height, depth); + d = XCreatePixmap (xdisp, scrollBar.win, width, height, depth); for (y = 0; y < height; y++) { @@ -138,7 +138,7 @@ else /* if (a == '#' || a == 'b' || a) */ pointcolour = blackGC; - XDrawPoint (display->display, d, pointcolour, x, y); + XDrawPoint (xdisp, d, pointcolour, x, y); } } return d;