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.

  • Participants
  • Parent commits 2ee9fe5
  • Branches master

Comments (0)

Files changed (1)

File src/gui_qt.cpp

 	// cause gui_resize_shell() to be called
+	// 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.