Mercurial > vim
diff src/screen.c @ 14428:aab5947be7c5 v8.1.0228
patch 8.1.0228: dropping files is ignored while Vim is busy
commit https://github.com/vim/vim/commit/92d147be959e689f8f58fd5d138a31835e160289
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 29 17:35:23 2018 +0200
patch 8.1.0228: dropping files is ignored while Vim is busy
Problem: Dropping files is ignored while Vim is busy.
Solution: Postpone the effect of dropping files until it's safe.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 29 Jul 2018 17:45:05 +0200 |
parents | 0a69e6e708f9 |
children | 3648e74dd523 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -526,6 +526,12 @@ reset_updating_screen(int may_resize_she #ifdef FEAT_TERMINAL term_check_channel_closed_recently(); #endif + +#ifdef HAVE_DROP_FILE + // If handle_drop() was called while updating_screen was TRUE need to + // handle the drop now. + handle_any_postponed_drop(); +#endif } /*