Filter events if tablet active, supporting touch screen tablets
When a tablet's stylus is active the touch events will be ignored so that you can place your hand on the touch screen and use the stylus without triggering touch events.
When I used X, I used
xinput disable <device> to disable the touch screen. With Wayland this option does not work anymore (see #243). This MR provides a better solution by filtering touch events while a stylus is in use: