Mercurial > vim
diff src/proto/gui_motif.pro @ 21355:fcccc29bd386 v8.2.1228
patch 8.2.1228: scrollbars not flush against the window edges when maximised
Commit: https://github.com/vim/vim/commit/203ec7760d255d9f92950c8779ddfc587d7896e0
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 17 20:43:43 2020 +0200
patch 8.2.1228: scrollbars not flush against the window edges when maximised
Problem: Scrollbars not flush against the window edges when maximised.
Solution: Add padding. (Ken Takata, closes https://github.com/vim/vim/issues/5602, closes https://github.com/vim/vim/issues/6466)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 17 Jul 2020 20:45:07 +0200 |
parents | 21b0a39d13ed |
children | 4545f58c8490 |
line wrap: on
line diff
--- a/src/proto/gui_motif.pro +++ b/src/proto/gui_motif.pro @@ -23,6 +23,8 @@ void gui_mch_show_popupmenu(vimmenu_T *m void gui_mch_def_colors(void); void gui_mch_set_scrollbar_thumb(scrollbar_T *sb, long val, long size, long max); void gui_mch_set_scrollbar_pos(scrollbar_T *sb, int x, int y, int w, int h); +int gui_mch_get_scrollbar_xpadding(void); +int gui_mch_get_scrollbar_ypadding(void); void gui_mch_enable_scrollbar(scrollbar_T *sb, int flag); void gui_mch_create_scrollbar(scrollbar_T *sb, int orient); void gui_mch_destroy_scrollbar(scrollbar_T *sb);