[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master dae936f504 1/2: Fix initialization of `hold_quit' during DND
From: |
Po Lu |
Subject: |
master dae936f504 1/2: Fix initialization of `hold_quit' during DND |
Date: |
Mon, 30 May 2022 22:17:36 -0400 (EDT) |
branch: master
commit dae936f5049a7f2157aa059a33b0608f56adb0fa
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix initialization of `hold_quit' during DND
* src/xterm.c (x_dnd_begin_drag_and_drop): Use `EVENT_INIT'
instead of just setting type to NO_EVENT.
---
src/xterm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xterm.c b/src/xterm.c
index f6bb97b2f8..29991de21d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10597,7 +10597,7 @@ x_dnd_begin_drag_and_drop (struct frame *f, Time time,
Atom xaction,
while (x_dnd_in_progress || x_dnd_waiting_for_finish)
{
- hold_quit.kind = NO_EVENT;
+ EVENT_INIT (hold_quit);
#ifdef USE_GTK
current_finish = X_EVENT_NORMAL;
current_hold_quit = &hold_quit;