diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-07-29 17:35:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-07-29 17:35:23 +0200 |
commit | 92d147be959e689f8f58fd5d138a31835e160289 (patch) | |
tree | 5ba25e99d246153860ba91d9fc7629b67801d993 /src/screen.c | |
parent | fda95e75721fb221495c69e493ec2761b5d85123 (diff) |
patch 8.1.0228: dropping files is ignored while Vim is busyv8.1.0228
Problem: Dropping files is ignored while Vim is busy.
Solution: Postpone the effect of dropping files until it's safe.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index 4dfbfec892..cab5731dc1 100644 --- a/src/screen.c +++ b/src/screen.c @@ -526,6 +526,12 @@ reset_updating_screen(int may_resize_shell UNUSED) #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 } /* |