Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion qml/windowed/AppListView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,12 @@ FocusScope {
MouseArea {
id: mouseArea
anchors.fill: parent

// Use a dummy Item as drag.target so Wayland dnd doesn't break the original ItemDelegate layout
Item { id: dndTarget }

acceptedButtons: Qt.LeftButton | Qt.RightButton
drag.target: itemDelegate
drag.target: dndTarget
// 当分类菜单打开时,禁用拖拽功能
enabled: !(ddeCategoryMenu.visible || alphabetCategoryPopup.visible)

Expand Down
Loading