Fix bug #10075 with cursor drawing in an hscrolled window.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Nov 2011 15:50:23 +0000 (17:50 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Nov 2011 15:50:23 +0000 (17:50 +0200)
commitf8fe6f9674b53239529644f95b71f2d885d76a08
treed2c4701296874b82dc815ace4de368ca8ed58cec
parentc7635a977e0d1fdb4d91ff54b3d85dfa9f3d3fe8
Fix bug #10075 with cursor drawing in an hscrolled window.

 src/xdisp.c (x_write_glyphs, draw_phys_cursor_glyph)
 (erase_phys_cursor, update_window_cursor, show_mouse_face)
 (cursor_in_mouse_face_p): If the cursor position is out of bounds,
 behave as if the cursor position were at the window margin.
 src/window.c (get_phys_cursor_glyph): If the window is hscrolled,
 and the cursor position is out of bounds, behave as if the cursor
 position were at the window margin.
src/ChangeLog
src/window.c
src/xdisp.c