From 8e2d9193ef2700bb93313525cf6e232619860711 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 4 Feb 2022 15:17:40 +0800 Subject: [PATCH] * 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. --- src/xwidget.c | 5 ----- 1 file changed, 5 deletions(-) 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) { -- 2.39.5