Also fix some compiler warnings in xterm.c that didn't show up

* src/xterm.c (x_dnd_begin_drag_and_drop): Don't define unused
variable on GTK builds.
This commit is contained in:
Po Lu 2022-05-01 09:44:46 +08:00
parent 4e6eb023e0
commit 07ae30d8f2

View file

@ -9778,7 +9778,9 @@ x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction,
#ifdef HAVE_XKB
XkbStateRec keyboard_state;
#endif
#ifndef USE_GTK
struct x_display_info *event_display;
#endif
if (!FRAME_VISIBLE_P (f))
{