image_view: Make d-n-d gesture exclusive
Drag and drop does not work on touchscreens.
This commit is contained in:
parent
7b24523079
commit
2b63f57d5b
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ mod imp {
|
|||
self.parent_constructed(obj);
|
||||
|
||||
let source = gtk::DragSource::new();
|
||||
source.set_exclusive(true);
|
||||
|
||||
source.connect_prepare(
|
||||
glib::clone!(@weak obj => @default-return None, move |_, _, _| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue