Input: Export GetEventMask
Make it non-static, add to headers. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
parent
30c8c7a863
commit
eb5aaf5eb8
|
@ -439,7 +439,7 @@ GetWindowXI2Mask(DeviceIntPtr dev, WindowPtr win, xEvent* ev)
|
|||
(inputMasks->xi2mask[XIAllMasterDevices][evtype/8] && IsMaster(dev)));
|
||||
}
|
||||
|
||||
static Mask
|
||||
Mask
|
||||
GetEventMask(DeviceIntPtr dev, xEvent *event, InputClients* other)
|
||||
{
|
||||
/* XI2 filters are only ever 8 bit, so let's return a 8 bit mask */
|
||||
|
|
|
@ -526,6 +526,7 @@ extern _X_EXPORT InputAttributes *DuplicateInputAttributes(InputAttributes *attr
|
|||
extern _X_EXPORT void FreeInputAttributes(InputAttributes *attrs);
|
||||
|
||||
/* misc event helpers */
|
||||
extern Mask GetEventMask(DeviceIntPtr dev, xEvent* ev, InputClientsPtr clients);
|
||||
extern Mask GetEventFilter(DeviceIntPtr dev, xEvent *event);
|
||||
extern Mask GetWindowXI2Mask(DeviceIntPtr dev, WindowPtr win, xEvent* ev);
|
||||
void FixUpEventFromWindow(SpritePtr pSprite,
|
||||
|
|
Loading…
Reference in New Issue
Block a user