907 |
|
|
908 |
/* Clear left fringe if no bitmap to draw or if bitmap doesn't fill |
/* Clear left fringe if no bitmap to draw or if bitmap doesn't fill |
909 |
the fringe. */ |
the fringe. */ |
910 |
b1 = -1; |
b1 = b2 = -1; |
911 |
if (left_p) |
if (left_p) |
912 |
{ |
{ |
913 |
if (wd > FRAME_X_LEFT_FRINGE_WIDTH (f)) |
if (wd > FRAME_X_LEFT_FRINGE_WIDTH (f)) |
965 |
XSetForeground (display, face->gc, face->foreground); |
XSetForeground (display, face->gc, face->foreground); |
966 |
} |
} |
967 |
|
|
968 |
if (which == NO_FRINGE_BITMAP) |
if (which != NO_FRINGE_BITMAP) |
969 |
return; |
{ |
970 |
|
/* Draw the bitmap. I believe these small pixmaps can be cached |
971 |
/* Draw the bitmap. I believe these small pixmaps can be cached |
by the server. */ |
972 |
by the server. */ |
pixmap = XCreatePixmapFromBitmapData (display, window, bits, wd, h, |
973 |
pixmap = XCreatePixmapFromBitmapData (display, window, bits, wd, h, |
face->foreground, |
974 |
face->foreground, |
face->background, depth); |
975 |
face->background, depth); |
XCopyArea (display, pixmap, window, gc, 0, 0, wd, h, x, y + dy); |
976 |
XCopyArea (display, pixmap, window, gc, 0, 0, wd, h, x, y + dy); |
XFreePixmap (display, pixmap); |
977 |
XFreePixmap (display, pixmap); |
} |
978 |
|
|
979 |
XSetClipMask (display, gc, None); |
XSetClipMask (display, gc, None); |
980 |
} |
} |
981 |
|
|