emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/macterm.c
Date: Wed, 08 May 2002 17:30:03 -0400

Index: emacs/src/macterm.c
diff -c emacs/src/macterm.c:1.2 emacs/src/macterm.c:1.3
*** emacs/src/macterm.c:1.2     Sat May  4 09:31:56 2002
--- emacs/src/macterm.c Wed May  8 17:30:03 2002
***************
*** 4395,4402 ****
             the image.  I believe it's looking better if we do
             nothing here for mouse-face.  */
          if (s->hl == DRAW_CURSOR)
!           mac_draw_rectangle (s->display, s->window, s->gc, x, y,
!                             s->img->width - 1, s->img->height - 1);
        }
      }
    else
--- 4395,4406 ----
             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;
!             mac_draw_rectangle (s->display, s->window, s->gc, x - r, y - r,
!                                 s->img->width + r*2 - 1, s->img->height + r*2 
- 1);
!           }
        }
      }
    else
***************
*** 4514,4521 ****
             the image.  I believe it's looking better if we do
             nothing here for mouse-face.  */
          if (s->hl == DRAW_CURSOR)
!           mac_draw_rectangle_to_pixmap (s->display, pixmap, s->gc, x, y,
!                                     s->img->width - 1, s->img->height - 1);
        }
      }
    else
--- 4518,4529 ----
             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;
!             mac_draw_rectangle_to_pixmap (s->display, pixmap, 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]