Patch 8.2.2939

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 5, 2021, 10:08:22 AM6/5/21
to vim...@googlegroups.com

Patch 8.2.2939
Problem: GTK: righthand scrollbar does not show with split window.
Solution: Adjust padding when two scrollbars are used. (Matt Wozniski,
closes #8324)
Files: src/gui_gtk.c


*** ../vim-8.2.2938/src/gui_gtk.c 2021-04-05 18:20:42.024142486 +0200
--- src/gui_gtk.c 2021-06-05 15:59:33.067260655 +0200
***************
*** 1050,1055 ****
--- 1050,1058 ----
xpad = gui.formwin->allocation.width - gui.drawarea->allocation.width
- gui.scrollbar_width;
#endif
+ if (gui.which_scrollbars[SBAR_LEFT] && gui.which_scrollbars[SBAR_RIGHT])
+ xpad -= gui.scrollbar_width;
+
return (xpad < 0) ? 0 : xpad;
}

*** ../vim-8.2.2938/src/version.c 2021-06-04 21:57:53.935646716 +0200
--- src/version.c 2021-06-05 16:00:42.523061582 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2939,
/**/

--
Why is "abbreviation" such a long word?

/// 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