To: vim_dev@googlegroups.com Subject: Patch 8.2.2939 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///