projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
905fabe
)
Fix the GTK build
author
Po Lu
<luangruo@yahoo.com>
Sun, 1 May 2022 01:43:08 +0000
(09:43 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 1 May 2022 01:43:08 +0000
(09:43 +0800)
* src/xterm.c (x_dnd_begin_drag_and_drop): Let GTK handle events
again.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index fd0e7cffa30ad65a23dda8e77eca4435dc105216..bb50b35c2df8badaa54101bc70b894a2b99ca554 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-9962,6
+9962,7
@@
x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction,
x_next_event_from_any_display (&next_event);
#endif
+#ifndef USE_GTK
event_display
= x_display_info_for_display (next_event.xany.display);
@@
-9989,6
+9990,7
@@
x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction,
&next_event, &finish, &hold_quit);
#endif
}
+#endif
/* The unblock_input below might try to read input, but
XTread_socket does nothing inside a drag-and-drop event