Mercurial > vim
diff src/gui.h @ 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 | fa0dcdaec6a3 |
children | 62b3805506b3 |
line wrap: on
line diff
--- a/src/gui.h +++ b/src/gui.h @@ -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