summaryrefslogtreecommitdiff
path: root/src/proto/screen.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-08-26 23:43:28 +0200
committerBram Moolenaar <Bram@vim.org>2017-08-26 23:43:28 +0200
commit02e177d3e85e089ebdfba1a7d937150cffcb287a (patch)
tree8dd39ac4f0b474700a6f0935c98ac2fa99586fe8 /src/proto/screen.pro
parent0903d56f5ca69bb1fa0bbb00ed2a3d9c4d06ddb4 (diff)
downloadvim-git-02e177d3e85e089ebdfba1a7d937150cffcb287a.tar.gz
patch 8.0.1002: unnecessarily updating screen after timer callbackv8.0.1002
Problem: Unnecessarily updating screen after timer callback. Solution: Check if calling the timer sets must_redraw.
Diffstat (limited to 'src/proto/screen.pro')
-rw-r--r--src/proto/screen.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proto/screen.pro b/src/proto/screen.pro
index 4e89293be..b40e0dadc 100644
--- a/src/proto/screen.pro
+++ b/src/proto/screen.pro
@@ -7,7 +7,7 @@ void redraw_curbuf_later(int type);
void redraw_buf_later(buf_T *buf, int type);
void redraw_buf_and_status_later(buf_T *buf, int type);
int redraw_asap(int type);
-void redraw_after_callback(void);
+void redraw_after_callback(int call_update_screen);
void redrawWinline(linenr_T lnum, int invalid);
void update_curbuf(int type);
void update_screen(int type_arg);
@@ -47,7 +47,7 @@ void setcursor(void);
int win_ins_lines(win_T *wp, int row, int line_count, int invalid, int mayclear);
int win_del_lines(win_T *wp, int row, int line_count, int invalid, int mayclear, int clear_attr);
int screen_ins_lines(int off, int row, int line_count, int end, int clear_attr, win_T *wp);
-int screen_del_lines(int off, int row, int line_count, int end, int force, int attr, win_T *wp);
+int screen_del_lines(int off, int row, int line_count, int end, int force, int clear_attr, win_T *wp);
int showmode(void);
void unshowmode(int force);
void clearmode(void);