(get_glyph_string_clip_rect): Fix reduction of cursor
authorKim F. Storm <storm@cua.dk>
Tue, 13 Apr 2004 21:31:23 +0000 (21:31 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 13 Apr 2004 21:31:23 +0000 (21:31 +0000)
commitcb9d4a9f656c51cf15805f3746ea86a6d07c059d
treea57bbf8c01306c4c07da57e5fda9c70c13364d93
parented8226ea4141cb16a8392e2106ecf428fa56f1e0
(get_glyph_string_clip_rect): Fix reduction of cursor
height to glyph height when cursor row is not fully visible.
(make_cursor_line_fully_visible): Add FORCE_P arg to return
failure in case row is higher than window.  Callers changed.
(try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd).
Try to scroll partially visible, higher-than-window cursor row.
(redisplay_window): Always try to scroll partially visible,
higher-than-window cursor row - both initially and again with
centering_position = 0.
Clear desired matrix before retrying with centering_position = 0.
src/xdisp.c