Patch 8.2.4523
Problem: When gvim is started maximized the 'window' option isn't set
properly. (Christian J. Robinson)
Solution: Check if 'windows' was already set or not. (Ken Takata,
closes #9904)
Files: src/term.c
*** ../vim-8.2.4522/src/term.c 2022-03-02 17:16:33.171278596 +0000
--- src/term.c 2022-03-07 13:26:26.840602440 +0000
***************
*** 3380,3386 ****
{
// If 'window' uses the whole screen, keep it using that.
// Don't change it when set with "-w size" on the command line.
! if (p_window == old_Rows - 1 || (old_Rows == 0 && p_window == 0))
p_window = Rows - 1;
old_Rows = Rows;
shell_new_rows(); // update window sizes
--- 3380,3387 ----
{
// If 'window' uses the whole screen, keep it using that.
// Don't change it when set with "-w size" on the command line.
! if (p_window == old_Rows - 1
! || (old_Rows == 0 && !option_was_set((char_u *)"window")))
p_window = Rows - 1;
old_Rows = Rows;
shell_new_rows(); // update window sizes
*** ../vim-8.2.4522/src/version.c 2022-03-06 22:21:33.694883719 +0000
--- src/version.c 2022-03-07 13:29:57.260228286 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4523,
/**/
--
What is the difference between a professional and an amateur?
The ark was built by an amateur; professionals gave us the Titanic.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220307133148.1C0EC1C042A%40moolenaar.net.