diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-10-02 16:23:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-10-02 16:23:58 +0200 |
commit | 586c70cdfede55a166e3564f1cb68a299d81987d (patch) | |
tree | e06b99bc5cb372212335dbee06976f6f0cb19417 /src/evalfunc.c | |
parent | 4f888757257795969f2ab2e6fc3544a5bef3cdea (diff) |
patch 8.1.0447: GUI scrollbar test fails with Athena and Motifv8.1.0447
Problem: GUI scrollbar test fails with Athena and Motif.
Solution: When not using on-the-fly scrolling call normal_cmd().
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index dd9bc1811f..c9f4c4581c 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -3588,7 +3588,7 @@ f_feedkeys(typval_T *argvars, typval_T *rettv UNUSED) if (!dangerous) ++ex_normal_busy; - exec_normal(TRUE, TRUE); + exec_normal(TRUE, FALSE, TRUE); if (!dangerous) --ex_normal_busy; @@ -13233,6 +13233,10 @@ f_test_scrollbar(typval_T *argvars, typval_T *rettv UNUSED) return; } gui_drag_scrollbar(sb, value, dragging); +# ifndef USE_ON_FLY_SCROLL + // need to loop through normal_cmd() to handle the scroll events + exec_normal(FALSE, TRUE, FALSE); +# endif } #endif |