]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xterm.c (x_dnd_begin_drag_and_drop): Always initialize hold_quit.
authorPo Lu <luangruo@yahoo.com>
Thu, 17 Mar 2022 04:53:36 +0000 (12:53 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 17 Mar 2022 04:53:36 +0000 (12:53 +0800)
src/xterm.c

index 59c3cefd5984c845f912f1fbf6a8a96ea65f3f38..543046ca00ba4cac7c1c719e1cdabaaeee40ac20 100644 (file)
@@ -1123,8 +1123,8 @@ x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction,
 
   while (x_dnd_in_progress)
     {
-#ifdef USE_GTK
       hold_quit.kind = NO_EVENT;
+#ifdef USE_GTK
       current_finish = X_EVENT_NORMAL;
       current_hold_quit = &hold_quit;
 #endif