emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master af90a45471: Fix compilation error of xterm.c


From: Eli Zaretskii
Subject: master af90a45471: Fix compilation error of xterm.c
Date: Thu, 17 Mar 2022 02:57:20 -0400 (EDT)

branch: master
commit af90a4547167e9997ed2bd4a86b055c503c31462
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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>.
---
 src/xterm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xterm.c b/src/xterm.c
index 543046ca00..1b0b3ef793 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)
     {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]