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/gui.h | |
parent | fda95e75721fb221495c69e493ec2761b5d85123 (diff) | |
download | vim-git-92d147be959e689f8f58fd5d138a31835e160289.tar.gz |
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/gui.h')
-rw-r--r-- | src/gui.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -65,8 +65,9 @@ /* * GUIs that support dropping files on a running Vim. */ -#if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MAC) \ - || defined(FEAT_GUI_GTK) +#if (defined(FEAT_DND) && defined(FEAT_GUI_GTK)) \ + || defined(FEAT_GUI_MSWIN) \ + || defined(FEAT_GUI_MAC) # define HAVE_DROP_FILE #endif |