diff options
author | David Edmundson <davidedmundson@kde.org> | 2021-02-16 09:51:47 +0000 |
---|---|---|
committer | David Edmundson <davidedmundson@kde.org> | 2021-12-09 09:32:59 +0000 |
commit | 283a2d61d03315495a52d82f356e7cb5292f4bb4 (patch) | |
tree | cce3d266ab3f30192eda772881b91356a3c26068 /src/client/qwaylanddatadevicemanager_p.h | |
parent | 34a8147f22ecba79f35616386da47e446bd1eed7 (diff) | |
download | qtwayland-283a2d61d03315495a52d82f356e7cb5292f4bb4.tar.gz |
Client: Implement DataDeviceV3
DataDeviceV2 fixes a leak of DataDevice resources.
DataDeviceV3 brings multiple improvements:
Action negotiation. The source announces which actions are supported,
the target then announces which subset of those action the target
supports and a preferred action. After negotiation both the source and
target are notified of which action is to be performed.
Drag sources are now notified when contents are dropped and when a
client has finished with the drag and drop operation.
A good test is the draggableicons example in QtBase.
Change-Id: I55e9759ca5a2e4218d02d863144a64ade53ef764
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/client/qwaylanddatadevicemanager_p.h')
-rw-r--r-- | src/client/qwaylanddatadevicemanager_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylanddatadevicemanager_p.h b/src/client/qwaylanddatadevicemanager_p.h index bd05c0fb..510d9be4 100644 --- a/src/client/qwaylanddatadevicemanager_p.h +++ b/src/client/qwaylanddatadevicemanager_p.h @@ -68,7 +68,7 @@ class QWaylandInputDevice; class Q_WAYLAND_CLIENT_EXPORT QWaylandDataDeviceManager : public QtWayland::wl_data_device_manager { public: - QWaylandDataDeviceManager(QWaylandDisplay *display, uint32_t id); + QWaylandDataDeviceManager(QWaylandDisplay *display, int version, uint32_t id); ~QWaylandDataDeviceManager() override; QWaylandDataDevice *getDataDevice(QWaylandInputDevice *inputDevice); |