> Is there a specific reason for calling XISelectEvents() for each slave vs using XIAllMasterDevices in QXcbConnection::xi2Select() in Qt?
Would have to dig into Qt code to tell that. But my guess is that because it exposes QTouchDevice objects to applications. For every QTouchEvent you can get the QTouchDevice from where it came from. But it might be that it could work with XIAllMasterDevices just as well.
> Is there a specific reason for calling XISelectEvents() for each slave vs using XIAllMasterDevices in QXcbConnection: :xi2Select( ) in Qt?
Would have to dig into Qt code to tell that. But my guess is that because it exposes QTouchDevice objects to applications. For every QTouchEvent you can get the QTouchDevice from where it came from. But it might be that it could work with XIAllMasterDevices just as well.