Revert "xfree86: unexport xf86PostButtonEventM()"

This reverts commit e16424212e.

The xf86-input-wacom driver requires this function.

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
This commit is contained in:
Duje Mihanović 2025-06-17 12:49:56 +02:00 committed by Enrico Weigelt
parent f5d4657d0d
commit 61accf16e2
2 changed files with 3 additions and 3 deletions

View File

@ -134,6 +134,9 @@ extern _X_EXPORT void xf86PostButtonEventP(DeviceIntPtr device, int is_absolute,
int first_valuator, int first_valuator,
int num_valuators, int num_valuators,
const int *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, extern _X_EXPORT void xf86PostKeyboardEvent(DeviceIntPtr device,
unsigned int key_code, int is_down); unsigned int key_code, int is_down);
extern _X_EXPORT void xf86PostTouchEvent(DeviceIntPtr dev, uint32_t touchid, extern _X_EXPORT void xf86PostTouchEvent(DeviceIntPtr dev, uint32_t touchid,

View File

@ -12,9 +12,6 @@ extern InputInfoPtr xf86InputDevs;
int xf86NewInputDevice(InputInfoPtr pInfo, DeviceIntPtr *pdev, BOOL is_auto); int xf86NewInputDevice(InputInfoPtr pInfo, DeviceIntPtr *pdev, BOOL is_auto);
InputInfoPtr xf86AllocateInput(void); InputInfoPtr xf86AllocateInput(void);
void xf86PostButtonEventM(DeviceIntPtr device, int is_absolute, int button,
int is_down, const ValuatorMask *mask);
void xf86InputEnableVTProbe(void); void xf86InputEnableVTProbe(void);
InputDriverPtr xf86LookupInputDriver(const char *name); InputDriverPtr xf86LookupInputDriver(const char *name);