comparison src/proto/gui.pro @ 9848:664276833670 v7.4.2199

commit https://github.com/vim/vim/commit/107abd2ca53c31fd3bb40d77ff296e98eaae2975 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 12 14:08:25 2016 +0200 patch 7.4.2199 Problem: In the GUI the cursor is hidden when redrawing any window, causing flicker. Solution: Only undraw the cursor when updating the window it's in.
author Christian Brabandt <cb@256bit.org>
date Fri, 12 Aug 2016 14:15:05 +0200
parents 21b0a39d13ed
children 1bdc12630fc0
comparison
equal deleted inserted replaced
9847:9dd04cad0feb 9848:664276833670
21 void gui_start_highlight(int mask); 21 void gui_start_highlight(int mask);
22 void gui_stop_highlight(int mask); 22 void gui_stop_highlight(int mask);
23 void gui_clear_block(int row1, int col1, int row2, int col2); 23 void gui_clear_block(int row1, int col1, int row2, int col2);
24 void gui_update_cursor_later(void); 24 void gui_update_cursor_later(void);
25 void gui_write(char_u *s, int len); 25 void gui_write(char_u *s, int len);
26 void gui_dont_update_cursor(void); 26 void gui_dont_update_cursor(int undraw);
27 void gui_can_update_cursor(void); 27 void gui_can_update_cursor(void);
28 int gui_outstr_nowrap(char_u *s, int len, int flags, guicolor_T fg, guicolor_T bg, int back); 28 int gui_outstr_nowrap(char_u *s, int len, int flags, guicolor_T fg, guicolor_T bg, int back);
29 void gui_undraw_cursor(void); 29 void gui_undraw_cursor(void);
30 void gui_redraw(int x, int y, int w, int h); 30 void gui_redraw(int x, int y, int w, int h);
31 int gui_redraw_block(int row1, int col1, int row2, int col2, int flags); 31 int gui_redraw_block(int row1, int col1, int row2, int col2, int flags);