mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user