Revert "mi: unexport mieqSetHandler()"

This reverts commit 7748984e3a.
This commit is contained in:
kohnish 2025-11-18 21:38:45 +01:00
parent 06c8dbd7ff
commit 5425489d33
2 changed files with 9 additions and 9 deletions

View file

@ -114,6 +114,15 @@ miDoCopy(DrawablePtr pSrcDrawable,
typedef struct _DeviceRec *DevicePtr;
#endif
/**
* Custom input event handler. If you need to process input events in some
* other way than the default path, register an input event handler for the
* given internal event type.
*/
typedef void (*mieqHandler) (int screen, InternalEvent *event,
DeviceIntPtr dev);
void _X_EXPORT mieqSetHandler(int event, mieqHandler handler);
/* miexpose.c */
extern _X_EXPORT RegionPtr miHandleExposures(DrawablePtr /*pSrcDrawable */ ,

View file

@ -31,13 +31,4 @@ void mieqProcessInputEvents(void);
void mieqAddCallbackOnDrained(CallbackProcPtr callback, void *param);
void mieqRemoveCallbackOnDrained(CallbackProcPtr callback, void *param);
/**
* Custom input event handler. If you need to process input events in some
* other way than the default path, register an input event handler for the
* given internal event type.
*/
typedef void (*mieqHandler) (int screen, InternalEvent *event,
DeviceIntPtr dev);
void mieqSetHandler(int event, mieqHandler handler);
#endif /* _XSERVER_MI_PRIV_H */