Commits

equalsraf committed cb97c4c

Force call to gui_resize_shell() in gui_mch_set_shellsize()

- it seems in cases where gui_resize_shell() is called but
the shell size actually remains the same, gui_resize_shell() is
never called, causing Vim to assume it was resized.

Comments (0)

Files changed (1)

 	// cause gui_resize_shell() to be called
 	gui_mch_update();
 
+	// Seems redundant but there are cases were the shell might not
+	// call this - because its size is unchanged
+	gui_resize_shell(vimshell->width(), vimshell->height());
+
 	// SHOCKING: it seems gui_get_shellsize() updates the proper values for
 	// the columns and rows, after a resize.
 	gui_get_shellsize();