From: Po Lu Date: Tue, 15 Mar 2022 02:28:54 +0000 (+0800) Subject: Fix extraneous ifdef in xwidgets code X-Git-Tag: emacs-29.0.90~1931^2~1121 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8cc8dfd67e44752667781602394962647afc795b;p=emacs.git Fix extraneous ifdef in xwidgets code * xterm.c (handle_one_xevent): Pass GesturePinchEnd events to xwidgets regardless of no-longer-present define. --- diff --git a/src/xterm.c b/src/xterm.c index b198dab983a..e48592210fd 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -13611,7 +13611,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, case XI_GesturePinchEnd: { -#if defined HAVE_XWIDGETS && HAVE_USABLE_XI_GESTURE_PINCH_EVENT +#if defined HAVE_XWIDGETS XIGesturePinchEvent *pev = (XIGesturePinchEvent *) xi_event; struct xwidget_view *xvw = xwidget_view_from_window (pev->event);