/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1060 by mituharu, Wed Oct 12 09:50:06 2005 UTC revision 1.1061 by kfstorm, Thu Oct 13 22:41:40 2005 UTC
# Line 1348  pos_visible_p (w, charpos, x, y, rtop, r Line 1348  pos_visible_p (w, charpos, x, y, rtop, r
1348    current_header_line_height = current_mode_line_height = -1;    current_header_line_height = current_mode_line_height = -1;
1349    
1350    if (visible_p && XFASTINT (w->hscroll) > 0)    if (visible_p && XFASTINT (w->hscroll) > 0)
1351      *x -= XFASTINT (w->hscroll);      *x -= XFASTINT (w->hscroll) * WINDOW_FRAME_COLUMN_WIDTH (w);
1352    
1353    return visible_p;    return visible_p;
1354  }  }
# Line 2112  remember_mouse_glyph (f, gx, gy, rect) Line 2112  remember_mouse_glyph (f, gx, gy, rect)
2112                break;                break;
2113    
2114            if (g < end)            if (g < end)
2115              width = g->pixel_width;              {
2116                  if (g->type == IMAGE_GLYPH)
2117                    {
2118                      /* Don't remember when mouse is over image, as
2119                         image may have hot-spots.  */
2120                      STORE_NATIVE_RECT (*rect, 0, 0, 0, 0);
2121                      return;
2122                    }
2123                  width = g->pixel_width;
2124                }
2125            else            else
2126              {              {
2127                /* Use nominal char spacing at end of line.  */                /* Use nominal char spacing at end of line.  */

Legend:
Removed from v.1.1060  
changed lines
  Added in v.1.1061

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26