projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75bf80e
)
Fix processing of DND events on GTK
author
Po Lu
<luangruo@yahoo.com>
Tue, 31 May 2022 05:24:27 +0000
(13:24 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 31 May 2022 05:24:27 +0000
(13:24 +0800)
* src/xterm.c (x_dnd_begin_drag_and_drop): Clear `current_count'
and `current_hold_quit' after calling gtk_main_iteration.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 8d2365a5c3c71f9b26c749c8fe159cb32342cf22..e9c38ae4847844b35c866a0fbc8d00cca55a5b19 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-10642,6
+10642,10
@@
x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction,
&next_event, &finish, &hold_quit);
#endif
}
+#else
+ /* Clear these before the read_socket_hook can be called. */
+ current_count = -1;
+ current_hold_quit = NULL;
#endif
/* The unblock_input below might try to read input, but