diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-04-24 13:59:39 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-24 15:13:38 +0200 |
commit | c551e6df6c77f65a0db62b3ad4db539e86b75a30 (patch) | |
tree | 3a6e672c97882c67c9a2e2455f1b90caea2c0456 /tests | |
parent | 187363886582ba236cf6fed0f956953b699eca53 (diff) |
Discard the selection and drag source when not active anymore
If another client sets a selection or starts a drag the active
wl_data_source, if any, gets a 'cancelled' event. We must listen to
this and discard the wl_data_source, else e.g. checking the clipboard
content will still return the data of the source instead of the current
wl_data_offer.
Change-Id: I80b202baf95fbc8abe19496a991cb30bc0b78bb0
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions