1. totte
  2. qvim

Commits

equalsraf  committed 2ee9fe5

Call gui_set_shellsize after window resize

  • Participants
  • Parent commits b8c0ad3
  • Branches master

Comments (0)

Files changed (1)

File src/gui_qt.cpp

View file
 	// Spin the loop to handle the resize event. This will
 	// cause gui_resize_shell() to be called
 	gui_mch_update();
+
+	// SHOCKING: it seems gui_get_shellsize() updates the proper values for
+	// the columns and rows, after a resize.
+	gui_get_shellsize();
 }
 
 /**