diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-28 21:42:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-28 21:42:38 +0200 |
commit | 13d5c3f6162694a7e925e66fc4eea35436643384 (patch) | |
tree | 79469cfdac66b18b84c8d63584196c3376425d7c /src/proto | |
parent | b78564d0221089e6dfc9c9d58239c18b991ca9fe (diff) | |
download | vim-git-13d5c3f6162694a7e925e66fc4eea35436643384.tar.gz |
patch 8.1.1773: the preview popup window may be too far to the rightv8.1.1773
Problem: The preview popup window may be too far to the right.
Solution: Keep it inside the screen. Also keep the close button and
scrollbar visible if possible.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/popupwin.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro index 04825ccb5..0a5db0c48 100644 --- a/src/proto/popupwin.pro +++ b/src/proto/popupwin.pro @@ -9,7 +9,7 @@ int popup_height(win_T *wp); int popup_width(win_T *wp); void popup_adjust_position(win_T *wp); int parse_previewpopup(win_T *wp); -void popup_set_wantpos(win_T *wp); +void popup_set_wantpos(win_T *wp, int width); void f_popup_clear(typval_T *argvars, typval_T *rettv); void f_popup_create(typval_T *argvars, typval_T *rettv); void f_popup_atcursor(typval_T *argvars, typval_T *rettv); |