From: Po Lu Date: Sun, 1 May 2022 01:43:08 +0000 (+0800) Subject: Fix the GTK build X-Git-Tag: emacs-29.0.90~1931^2~170 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e6eb023e08a9afba7fedd18940d42b86844170b;p=emacs.git Fix the GTK build * src/xterm.c (x_dnd_begin_drag_and_drop): Let GTK handle events again. --- diff --git a/src/xterm.c b/src/xterm.c index fd0e7cffa30..bb50b35c2df 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