From: Po Lu Date: Sun, 1 May 2022 01:44:46 +0000 (+0800) Subject: Also fix some compiler warnings in xterm.c that didn't show up X-Git-Tag: emacs-29.0.90~1931^2~169 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=07ae30d8f24ce46dbb7c2fbfa02002c1b4c2b6b7;p=emacs.git 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. --- diff --git a/src/xterm.c b/src/xterm.c index bb50b35c2df..3dd8f320ba8 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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)) {