From: Po Lu Date: Fri, 4 Feb 2022 07:17:40 +0000 (+0800) Subject: * src/xwidget.c (xwidget_button): Always let button events through. X-Git-Tag: emacs-29.0.90~2538 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8e2d9193ef2700bb93313525cf6e232619860711;p=emacs.git * src/xwidget.c (xwidget_button): Always let button events through. Filtering out emulated events is done in handle_one_xevent, so all this accomplishes is to filter out legitimate button events. --- diff --git a/src/xwidget.c b/src/xwidget.c index 23031f9c93c..fc6ba2c6335 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -1291,12 +1291,7 @@ xwidget_button (struct xwidget_view *view, if (button < 4 || button > 8) xwidget_button_1 (view, down_p, x, y, button, modifier_state, time); -#ifndef HAVE_XINPUT2 else -#else - else if (!FRAME_DISPLAY_INFO (view->frame)->supports_xi2 - || FRAME_DISPLAY_INFO (view->frame)->xi2_version < 1) -#endif { if (!down_p) {