mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 9.1.0077: Unnecessary call to redraw_for_cursorline() in nv_mousescroll()
Problem: The call to redraw_for_cursorline() in nv_mousescroll() is
unnecessary because redraw_for_cursorline() only sets redraw
type to UPD_VALID, and all code paths in do_mousescroll()
already set redraw type to at least UPD_VALID.
Solution: Remove call to redraw_for_cursorline() in nv_mousescroll().
(zeertzjq)
closes: #13979
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
0f4054feb6
commit
3f1b5312e0
@@ -1,6 +1,5 @@
|
||||
/* move.c */
|
||||
int adjust_plines_for_skipcol(win_T *wp);
|
||||
void redraw_for_cursorline(win_T *wp);
|
||||
int sms_marker_overlap(win_T *wp, int extra2);
|
||||
void update_topline_redraw(void);
|
||||
void update_topline(void);
|
||||
|
||||
Reference in New Issue
Block a user