Patch 8.2.4523

6 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 7, 2022, 8:31:53 AM3/7/22
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages