https://bugs.kde.org/show_bug.cgi?id=417936

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/26ce4869a09e0061061c3f1e2
                   |                            |cf2333a4ab1eb02
         Resolution|DUPLICATE                   |FIXED

--- Comment #5 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 26ce4869a09e0061061c3f1e2cf2333a4ab1eb02 by David Edmundson.
Committed on 06/04/2020 at 22:22.
Pushed by davidedmundson into branch 'master'.

[xwl] Fix crash if same data is requested twice

Summary:
m_dataRequests is a list of transfers for a given selection.
It exists primarily as a ref counting mechanism that matches up
transfers with selections.

If the same data is requested twice we would insert two items into the
list with matching timestamps for the original selection. This then
confuses the callback handling.

Test Plan:
kwin_wayland + chromium
drag and drop a URL onto desktopview. kwin used to crash here
Now a context menu now appears and I can add a link

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D28630

M  +1    -2    xwl/drag_x.cpp

https://commits.kde.org/kwin/26ce4869a09e0061061c3f1e2cf2333a4ab1eb02

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to