From: Eli Zaretskii Date: Thu, 17 Mar 2022 06:56:42 +0000 (+0200) Subject: Fix compilation error of xterm.c X-Git-Tag: emacs-29.0.90~1931^2~1080 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=af90a4547167e9997ed2bd4a86b055c503c31462;p=emacs.git 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 . --- 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) {