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.
diff --git a/src/screen.c b/src/screen.c
index 4dfbfec..cab5731 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -526,6 +526,12 @@
#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
}
/*