emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/w32term.c
Date: Thu, 16 May 2002 12:11:43 -0400

Index: emacs/src/w32term.c
diff -c emacs/src/w32term.c:1.158 emacs/src/w32term.c:1.159
*** emacs/src/w32term.c:1.158   Tue Apr 16 18:24:25 2002
--- emacs/src/w32term.c Wed May  8 17:30:57 2002
***************
*** 3946,3953 ****
             the image.  I believe it's looking better if we do
             nothing here for mouse-face.  */
          if (s->hl == DRAW_CURSOR)
!             w32_draw_rectangle (s->hdc, s->gc, x, y, s->img->width - 1,
!                                 s->img->height - 1);
            w32_set_clip_rectangle (s->hdc, NULL);
        }
      }
--- 3946,3957 ----
             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;
!             w32_draw_rectangle (s->hdc, s->gc, x - r, y - r ,
!                                 s->img->width + r*2 - 1, s->img->height + r*2 
- 1);
!           }
            w32_set_clip_rectangle (s->hdc, NULL);
        }
      }
***************
*** 4087,4094 ****
             the image.  I believe it's looking better if we do
             nothing here for mouse-face.  */
          if (s->hl == DRAW_CURSOR)
!             w32_draw_rectangle (hdc, s->gc, x, y, s->img->width - 1,
!                                 s->img->height - 1);
        }
      }
    else
--- 4091,4102 ----
             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;
!             w32_draw_rectangle (s->hdc, 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]