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: Jason Rumney
Subject: [Emacs-diffs] Changes to emacs/src/w32term.c
Date: Wed, 06 Mar 2002 18:17:39 -0500

Index: emacs/src/w32term.c
diff -c emacs/src/w32term.c:1.149 emacs/src/w32term.c:1.150
*** emacs/src/w32term.c:1.149   Mon Mar  4 18:40:59 2002
--- emacs/src/w32term.c Wed Mar  6 18:17:38 2002
***************
*** 9409,9415 ****
    rect.left = WINDOW_TEXT_TO_FRAME_PIXEL_X (w, w->phys_cursor.x);
    rect.top = (WINDOW_TO_FRAME_PIXEL_Y (w, w->phys_cursor.y)
                + row->ascent - w->phys_cursor_ascent);
!   rect.bottom = rect.top + row->height - 1;
  
    /* Get the glyph the cursor is on.  If we can't tell because
       the current matrix is invalid or such, give up.  */
--- 9409,9415 ----
    rect.left = WINDOW_TEXT_TO_FRAME_PIXEL_X (w, w->phys_cursor.x);
    rect.top = (WINDOW_TO_FRAME_PIXEL_Y (w, w->phys_cursor.y)
                + row->ascent - w->phys_cursor_ascent);
!   rect.bottom = rect.top + row->height;
  
    /* Get the glyph the cursor is on.  If we can't tell because
       the current matrix is invalid or such, give up.  */
***************
*** 9421,9427 ****
       glyph, and `x-stretch-block-cursor' is nil, don't draw a
       rectangle as wide as the glyph, but use a canonical character
       width instead.  */
!   wd = cursor_glyph->pixel_width - 1;
    if (cursor_glyph->type == STRETCH_GLYPH
        && !x_stretch_cursor_p)
      wd = min (CANON_X_UNIT (f), wd);
--- 9421,9427 ----
       glyph, and `x-stretch-block-cursor' is nil, don't draw a
       rectangle as wide as the glyph, but use a canonical character
       width instead.  */
!   wd = cursor_glyph->pixel_width;
    if (cursor_glyph->type == STRETCH_GLYPH
        && !x_stretch_cursor_p)
      wd = min (CANON_X_UNIT (f), wd);



reply via email to

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