summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-09 18:33:29 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-09 18:33:29 +0100
commit8ac441576fd219fb7227349e228d5b68520b204a (patch)
tree8deb339c08aeba2ab92c7b77922960c7b226004e /src/gui_w32.c
parent26d205dcd886b48713f22cbdbf2a8e55400083dc (diff)
patch 8.0.1278: GUI window always resizes when adding scrollbarv8.0.1278
Problem: GUI window always resizes when adding/removing a scrollbar, toolbar, etc. Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and change the number of lines/columns instead. (Ychin, closes #703)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 67895cca3e..52cadead62 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -3385,8 +3385,9 @@ gui_mch_maximized(void)
}
/*
- * Called when the font changed while the window is maximized. Compute the
- * new Rows and Columns. This is like resizing the window.
+ * Called when the font changed while the window is maximized or GO_KEEPWINSIZE
+ * is set. Compute the new Rows and Columns. This is like resizing the
+ * window.
*/
void
gui_mch_newfont(void)