Fix extraneous ifdef in xwidgets code

* xterm.c (handle_one_xevent): Pass GesturePinchEnd events to
xwidgets regardless of no-longer-present define.
This commit is contained in:
Po Lu 2022-03-15 10:28:54 +08:00
parent 299e475361
commit 8cc8dfd67e

View file

@ -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);