emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xterm.c


From: Gerd Moellmann
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c
Date: Sat, 01 Dec 2001 07:56:47 -0500

Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.690 emacs/src/xterm.c:1.691
*** emacs/src/xterm.c:1.690     Fri Nov 30 20:22:27 2001
--- emacs/src/xterm.c   Sat Dec  1 07:56:47 2001
***************
*** 907,913 ****
  
    /* Clear left fringe if no bitmap to draw or if bitmap doesn't fill
       the fringe.  */
!   b1 = -1;
    if (left_p)
      {
        if (wd > FRAME_X_LEFT_FRINGE_WIDTH (f))
--- 907,913 ----
  
    /* Clear left fringe if no bitmap to draw or if bitmap doesn't fill
       the fringe.  */
!   b1 = b2 = -1;
    if (left_p)
      {
        if (wd > FRAME_X_LEFT_FRINGE_WIDTH (f))
***************
*** 965,980 ****
        XSetForeground (display, face->gc, face->foreground);
      }
  
!   if (which == NO_FRINGE_BITMAP)
!     return;
! 
!   /* Draw the bitmap.  I believe these small pixmaps can be cached
!      by the server.  */
!   pixmap = XCreatePixmapFromBitmapData (display, window, bits, wd, h,
!                                       face->foreground,
!                                       face->background, depth);
!   XCopyArea (display, pixmap, window, gc, 0, 0, wd, h, x, y + dy);
!   XFreePixmap (display, pixmap);
    XSetClipMask (display, gc, None);
  }
  
--- 965,981 ----
        XSetForeground (display, face->gc, face->foreground);
      }
  
!   if (which != NO_FRINGE_BITMAP)
!     {
!       /* Draw the bitmap.  I believe these small pixmaps can be cached
!        by the server.  */
!       pixmap = XCreatePixmapFromBitmapData (display, window, bits, wd, h,
!                                           face->foreground,
!                                           face->background, depth);
!       XCopyArea (display, pixmap, window, gc, 0, 0, wd, h, x, y + dy);
!       XFreePixmap (display, pixmap);
!     }
!   
    XSetClipMask (display, gc, None);
  }
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]