When using a touch screen on a Linux machine, we receive both touch-events and emulated mouse events from XInput, on top of that we synthesize mouse events ourselves for the touch events.
The problem is we never tell the XServer we accepted the touch-begin event. To do that we need to grab the active touch device.
|For Gerrit Dashboard: QTBUG-35157|
|73218,2||Avoid duplicate emulated mouse events with XInput2||stable||qt/qtbase||Status: MERGED||+2||0|