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: Dave Love
Subject: [Emacs-diffs] Changes to emacs/src/xterm.c
Date: Fri, 17 May 2002 12:43:06 -0400

Index: emacs/src/xterm.c
diff -c emacs/src/xterm.c:1.732 emacs/src/xterm.c:1.733
*** emacs/src/xterm.c:1.732     Mon Apr 29 14:22:04 2002
--- emacs/src/xterm.c   Wed May  8 17:32:00 2002
***************
*** 4116,4123 ****
             the image.  I believe it's looking better if we do
             nothing here for mouse-face.  */
          if (s->hl == DRAW_CURSOR)
!           XDrawRectangle (s->display, s->window, s->gc, x, y,
!                           s->img->width - 1, s->img->height - 1);
        }
      }
    else
--- 4116,4127 ----
             the image.  I believe it's looking better if we do
             nothing here for mouse-face.  */
          if (s->hl == DRAW_CURSOR)
!           {
!             int r = s->img->relief;
!             if (r < 0) r = -r;
!             XDrawRectangle (s->display, s->window, s->gc, x - r, y - r,
!                             s->img->width + r*2 - 1, s->img->height + r*2 - 
1);
!           }
        }
      }
    else
***************
*** 4232,4239 ****
             the image.  I believe it's looking better if we do
             nothing here for mouse-face.  */
          if (s->hl == DRAW_CURSOR)
!           XDrawRectangle (s->display, pixmap, s->gc, x, y,
!                           s->img->width - 1, s->img->height - 1);
        }
      }
    else
--- 4236,4247 ----
             the image.  I believe it's looking better if we do
             nothing here for mouse-face.  */
          if (s->hl == DRAW_CURSOR)
!           {
!             int r = s->img->relief;
!             if (r < 0) r = -r;
!             XDrawRectangle (s->display, s->window, s->gc, x - r, y - r,
!                             s->img->width + r*2 - 1, s->img->height + r*2 - 
1);
!           }
        }
      }
    else



reply via email to

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