client: Wait to create QPointingDevice; give seat name to ctor


Wait until both the seat name and capabilities are known, to avoid
depending on the order of messages. On Weston, seat_name() is called
after seat_capabilities(), while it's the other way around on others.

Pass the seat name along in each place where the QPointingDevice ctor is
invoked.

This gets us closer to multi-seat support on Wayland: at least
qtdecl/examples/quick/pointerhandlers/singlePointHandlerProperties.qml
can see the seat name of the device provided with each QTouchEvent or
QTabletEvent. Followup to 5af836aea3bb91a9f388e565415dc33b2fde4577 and
dd8965bd60fa3587bc219e4638478cd9a4d95f3b

Pick-to: 6.8
Task-number: QTBUG-72167
Task-number: QTBUG-115207
Change-Id: Ife25cfec0307893d949a2a50a9b49a8f560a60e0
Reviewed-by: David Edmundson <davidedmundson@kde.org>
commit4322496f73bc093d1ff97b24e90d6385f35189d8
parent5a290a9abad24bf3d6558b2c77fa18f541028665
authorShawn Rutledge <shawn.rutledge@qt.io>
committerShawn Rutledge <shawn.rutledge@qt.io>
commit timeMon, 16 Sep 2024 12:11:27 +0200