projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b174c
)
Fix initialization of `hold_quit' during DND
author
Po Lu
<luangruo@yahoo.com>
Tue, 31 May 2022 02:15:29 +0000
(10:15 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 31 May 2022 02:15:29 +0000
(10:15 +0800)
* src/xterm.c (x_dnd_begin_drag_and_drop): Use `EVENT_INIT'
instead of just setting type to NO_EVENT.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index f6bb97b2f8981ef3579dbfd4f2b8dc8ad3e2dd61..29991de21deeaa8f02996922e6d497654ca61a38 100644
(file)
--- 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;