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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user