diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-03-17 08:56:42 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-03-17 08:56:42 +0200 |
commit | af90a4547167e9997ed2bd4a86b055c503c31462 (patch) | |
tree | 753830cddc3fd6980aeb34f492d8e3f684e1a0ae | |
parent | 9916b49e4197d3aa23b3a5e6a383ae40f65b8222 (diff) | |
download | emacs-af90a4547167e9997ed2bd4a86b055c503c31462.tar.gz |
Fix compilation error of xterm.c
* src/xterm.c (x_dnd_begin_drag_and_drop): Use current_count only
if defined. Reported by Tassilo Horn <tsdh@gnu.org>.
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 543046ca00b..1b0b3ef793f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1119,7 +1119,9 @@ x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction, if (return_frame_p) x_dnd_return_frame = 1; +#ifdef USE_GTK current_count = 0; +#endif while (x_dnd_in_progress) { |