mouse click or movement in fringe.
2005-10-11 Kim F. Storm <storm@cua.dk>
+ * xterm.c (glyph_rect): Return 0 if position is outside text area.
+
* keyboard.c (make_lispy_position): Fix buffer position calculation for
mouse click or movement in fringe.
posn = (part == ON_LEFT_FRINGE) ? Qleft_fringe : Qright_fringe;
rx = 0;
dx = wx;
+ wx = (part == ON_LEFT_FRINGE) ? 0 : window_box_width (w, TEXT_AREA);
if (part == ON_RIGHT_FRINGE)
dx -= (window_box_width (w, LEFT_MARGIN_AREA)
+ window_box_width (w, TEXT_AREA)