Fix bug #12403 with garbled display under non-zero scroll-margin.
authorEli Zaretskii <eliz@gnu.org>
Wed, 12 Sep 2012 17:12:10 +0000 (20:12 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 12 Sep 2012 17:12:10 +0000 (20:12 +0300)
commitaa36e4d28b7a405fa542d9fa1dbbfd9758980f22
treeed20d28cd4dfbc86caf7c0503a0c831c95932331
parente0453b552e68fc2c05cb78cec6103511660c7531
Fix bug #12403 with garbled display under non-zero scroll-margin.

 src/xdisp.c (try_window_reusing_current_matrix): Under bidi
 reordering, locate the cursor by calling set_cursor_from_row; if
 that fails, clear the desired glyph matrix before returning a
 failure indication to the caller.  Fixes leaving garbled display
 when fast scrolling with a down-key when scroll-margin is non-zero.
src/ChangeLog
src/xdisp.c