summaryrefslogtreecommitdiffstats
path: root/src/client/inputdeviceintegration/inputdeviceintegration.pri
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2024-05-10 13:20:30 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2024-06-07 09:10:24 +0200
commit792bd8510e3bc6b47bcaedfb1386390ce3a10a3a (patch)
tree79696ccefb0f5bffd79778a772f192c78e8c87ca /src/client/inputdeviceintegration/inputdeviceintegration.pri
parent06c8c5e1638ef3377ab3006aa558a6b0ebd98dc7 (diff)
Fix race condition in drag and dropHEADdev
The data source may be deleted by libwayland while we hold a reference to it. This could cause crashes when dragging and dropping repeatedly and very rapidly between two components. Tapping into sourceDestroyed() for this as well allows us to recover more gracefully. This also required adding some null pointer checks to the code, since it wasn't really prepared for the data source disappearing. Pick-to: 5.15 6.2 6.5 6.7 6.8 Fixes: QTBUG-124502 Change-Id: Ic3df8bf70176c5424ac5c693f8456f61e7b2762b Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/client/inputdeviceintegration/inputdeviceintegration.pri')
0 files changed, 0 insertions, 0 deletions