You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Edmundson 26ce4869a0 [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
5 years ago
..
clipboard.cpp Fix minor typos 5 years ago
clipboard.h
databridge.cpp
databridge.h warnings-- 5 years ago
dnd.cpp Fix minor typos 5 years ago
dnd.h
drag.cpp
drag.h
drag_wl.cpp
drag_wl.h
drag_x.cpp [xwl] Fix crash if same data is requested twice 5 years ago
drag_x.h
selection.cpp
selection.h Use more traditional doxygen style 5 years ago
selection_source.cpp
selection_source.h
transfer.cpp
transfer.h
xwayland.cpp Port away from a deprecated signal 5 years ago
xwayland.h
xwayland_interface.cpp
xwayland_interface.h