mirror of
https://github.com/lwouis/alt-tab-macos.git
synced 2026-05-24 11:20:36 +00:00
fix: dragging files onto windowless apps was inconsistent
This commit is contained in:
@@ -236,6 +236,7 @@ class ThumbnailView: NSStackView {
|
||||
// NSImageView instances are registered to drag-and-drop by default
|
||||
thumbnail.unregisterDraggedTypes()
|
||||
appIcon.unregisterDraggedTypes()
|
||||
windowlessIcon.unregisterDraggedTypes()
|
||||
// we only handle URLs (i.e. not text, image, or other draggable things)
|
||||
registerForDraggedTypes([NSPasteboard.PasteboardType(kUTTypeURL as String)])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user