Skip to content

Commit

Permalink
Fix display corruption when dragging divider
Browse files Browse the repository at this point in the history
This fixes a bug where the screen would get corrupted when dragging a
horizontal divider in full-screen mode.
  • Loading branch information
b4winckler committed Jul 5, 2010
1 parent 1152da7 commit ba44868
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/window.c
Expand Up @@ -5559,7 +5559,12 @@ win_new_height(wp, height)
wp->w_prev_fraction_row = wp->w_wrow;

win_comp_scroll(wp);
#ifdef FEAT_GUI_MACVIM
/* The view may have moved, so clear all or display may get corrupted. */
redraw_win_later(wp, CLEAR);
#else
redraw_win_later(wp, SOME_VALID);
#endif
#ifdef FEAT_WINDOWS
wp->w_redr_status = TRUE;
#endif
Expand Down

0 comments on commit ba44868

Please sign in to comment.