]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix extraneous ifdef in xwidgets code
authorPo Lu <luangruo@yahoo.com>
Tue, 15 Mar 2022 02:28:54 +0000 (10:28 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 15 Mar 2022 02:28:54 +0000 (10:28 +0800)
* xterm.c (handle_one_xevent): Pass GesturePinchEnd events to
xwidgets regardless of no-longer-present define.

src/xterm.c

index b198dab983aff331a5c340b581519134433a6a27..e48592210fd45fb562e2f02e76a11daa9e2149bf 100644 (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);