[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4e6eb023e0: Fix the GTK build
From: |
Po Lu |
Subject: |
master 4e6eb023e0: Fix the GTK build |
Date: |
Sat, 30 Apr 2022 21:43:45 -0400 (EDT) |
branch: master
commit 4e6eb023e08a9afba7fedd18940d42b86844170b
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix the GTK build
* src/xterm.c (x_dnd_begin_drag_and_drop): Let GTK handle events
again.
---
src/xterm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/xterm.c b/src/xterm.c
index fd0e7cffa3..bb50b35c2d 100644
--- 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 4e6eb023e0: Fix the GTK build,
Po Lu <=