Tags: jcs/xbanish
Tags
xinput: ignore duplicate XDevicePresenceNotifyEvents
When reacting to a XDevicePresenceNotifyEvent and snooping on all
devices, this can (sometimes?) cause a bunch of duplicate
XDevicePresenceNotifyEvents to show up, which then puts us into an
infinite loop of snooping and reacting to these events.
Store the serial of the event and ignore any duplicates.
Might fix #48.