Skip to content
Browse files

Fix display corruption when dragging divider

This fixes a bug where the screen would get corrupted when dragging a
horizontal divider in full-screen mode.
  • Loading branch information...
1 parent 1152da7 commit ba4486860ecda4b5e3584c0938abcc5046f1beaa @b4winckler committed Jul 5, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/window.c
5 src/window.c
@@ -5559,7 +5559,12 @@ win_new_height(wp, height)
wp->w_prev_fraction_row = wp->w_wrow;
+ /* The view may have moved, so clear all or display may get corrupted. */
+ redraw_win_later(wp, CLEAR);
redraw_win_later(wp, SOME_VALID);
wp->w_redr_status = TRUE;

0 comments on commit ba44868

Please sign in to comment.
Something went wrong with that request. Please try again.