[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. BUG: 417936 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
parent
6dc93890
Please register or sign in to comment