0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

patch 8.1.0447: GUI scrollbar test fails with Athena and Motif

Problem:    GUI scrollbar test fails with Athena and Motif.
Solution:   When not using on-the-fly scrolling call normal_cmd().
This commit is contained in:
Bram Moolenaar
2018-10-02 16:23:58 +02:00
parent 4f88875725
commit 586c70cdfe
4 changed files with 15 additions and 6 deletions

View File

@@ -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