summaryrefslogtreecommitdiffstats
path: root/src/proto/popupwin.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-28 21:42:38 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-28 21:42:38 +0200
commit13d5c3f6162694a7e925e66fc4eea35436643384 (patch)
tree79469cfdac66b18b84c8d63584196c3376425d7c /src/proto/popupwin.pro
parentb78564d0221089e6dfc9c9d58239c18b991ca9fe (diff)
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/popupwin.pro')
-rw-r--r--src/proto/popupwin.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/popupwin.pro b/src/proto/popupwin.pro
index 04825ccb5e..0a5db0c480 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);