Skip to content

Commit

Permalink
clipboard: enable drag&drop for images
Browse files Browse the repository at this point in the history
  • Loading branch information
abenz1267 committed Jan 19, 2025
1 parent 0b084a0 commit eb8f7e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/modules/clipboard/clipboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ func itemToEntry(item ClipboardItem, exec string, avoidLineBreaks bool) util.Ent
Type: "file",
}
entry.HideText = true
entry.DragDrop = true
entry.DragDropData = item.Content
}

return entry
Expand Down

0 comments on commit eb8f7e0

Please sign in to comment.