/[emacs]/emacs/src/xterm.c
ViewVC logotype

Diff of /emacs/src/xterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.690 by kfstorm, Sat Dec 1 01:22:27 2001 UTC revision 1.691 by gerd, Sat Dec 1 12:56:47 2001 UTC
# Line 907  x_draw_fringe_bitmap (w, row, which, lef Line 907  x_draw_fringe_bitmap (w, row, which, lef
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))
# Line 965  x_draw_fringe_bitmap (w, row, which, lef Line 965  x_draw_fringe_bitmap (w, row, which, lef
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    

Legend:
Removed from v.1.690  
changed lines
  Added in v.1.691

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26