mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
@@ -476,7 +476,7 @@ func (dnd *dnd) next_remote_item() (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (dnd *dnd) on_drag_remote_data_request(idx int) (err error) {
|
func (dnd *dnd) on_drag_remote_data_request(idx int) (err error) {
|
||||||
ds := dnd.drag_sources["text/uri_list"]
|
ds := dnd.drag_sources["text/uri-list"]
|
||||||
if ds == nil || len(ds.uri_list) < 1 {
|
if ds == nil || len(ds.uri_list) < 1 {
|
||||||
dnd.finish_drag("EINVAL")
|
dnd.finish_drag("EINVAL")
|
||||||
return fmt.Errorf("terminal asked for drag data from URI list but no list present")
|
return fmt.Errorf("terminal asked for drag data from URI list but no list present")
|
||||||
|
|||||||
Reference in New Issue
Block a user