From 61accf16e2f9e82a5ca6350077c3778998c0cb9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= Date: Tue, 17 Jun 2025 12:49:56 +0200 Subject: [PATCH] Revert "xfree86: unexport xf86PostButtonEventM()" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit e16424212e305260771d8c1bf465be1a5e73e590. The xf86-input-wacom driver requires this function. Signed-off-by: Duje Mihanović --- hw/xfree86/common/xf86Xinput.h | 3 +++ hw/xfree86/common/xf86Xinput_priv.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xfree86/common/xf86Xinput.h b/hw/xfree86/common/xf86Xinput.h index d2faaf07b..a93c94908 100644 --- a/hw/xfree86/common/xf86Xinput.h +++ b/hw/xfree86/common/xf86Xinput.h @@ -134,6 +134,9 @@ extern _X_EXPORT void xf86PostButtonEventP(DeviceIntPtr device, int is_absolute, int first_valuator, int num_valuators, const int *valuators); +extern _X_EXPORT void xf86PostButtonEventM(DeviceIntPtr device, int is_absolute, + int button, int is_down, + const ValuatorMask *mask); extern _X_EXPORT void xf86PostKeyboardEvent(DeviceIntPtr device, unsigned int key_code, int is_down); extern _X_EXPORT void xf86PostTouchEvent(DeviceIntPtr dev, uint32_t touchid, diff --git a/hw/xfree86/common/xf86Xinput_priv.h b/hw/xfree86/common/xf86Xinput_priv.h index d90b0736c..7f0ec46fa 100644 --- a/hw/xfree86/common/xf86Xinput_priv.h +++ b/hw/xfree86/common/xf86Xinput_priv.h @@ -12,9 +12,6 @@ extern InputInfoPtr xf86InputDevs; int xf86NewInputDevice(InputInfoPtr pInfo, DeviceIntPtr *pdev, BOOL is_auto); InputInfoPtr xf86AllocateInput(void); -void xf86PostButtonEventM(DeviceIntPtr device, int is_absolute, int button, - int is_down, const ValuatorMask *mask); - void xf86InputEnableVTProbe(void); InputDriverPtr xf86LookupInputDriver(const char *name);