lxqt / libqtxdg

Qt implementation of freedesktop.org xdg specs
https://lxqt.github.io
GNU Lesser General Public License v2.1
72 stars 35 forks source link

XdgMenuWidget: fix for sometimes dragging incorrect action #257

Closed elviosak closed 3 years ago

elviosak commented 3 years ago

When starting drag, it should get the action that was clicked instead of the action currently under the cursor when qt detects drag action.

Causes issues in lxqt-panel/plugin-mainmenu when dragging items to quicklaunch or desktop, causing the adjacent item to be dragged instead.