[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xdisp.c
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/xdisp.c |
Date: |
Mon, 09 Jun 2003 19:01:53 -0400 |
Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.835 emacs/src/xdisp.c:1.836
*** emacs/src/xdisp.c:1.835 Tue Jun 3 18:36:13 2003
--- emacs/src/xdisp.c Mon Jun 9 19:01:52 2003
***************
*** 20186,20192 ****
cursor_glyph = get_phys_cursor_glyph (w);
if (cursor_glyph)
{
! cr.x = w->phys_cursor.x;
cr.y = w->phys_cursor.y;
cr.width = cursor_glyph->pixel_width;
cr.height = w->phys_cursor_height;
--- 20186,20194 ----
cursor_glyph = get_phys_cursor_glyph (w);
if (cursor_glyph)
{
! /* r is relative to W's box, but w->phys_cursor.x is relative
! to left edge of W's TEXT area. Adjust it. */
! cr.x = window_box_left_offset (w, TEXT_AREA) + w->phys_cursor.x;
cr.y = w->phys_cursor.y;
cr.width = cursor_glyph->pixel_width;
cr.height = w->phys_cursor_height;