Abort a copy-drag in the case where it would result in a copy at the same location

also code cleanup: clear_draggingview_list() avoids duplicated code
This commit is contained in:
Ben Loftis 2021-06-15 12:41:25 -05:00
parent 87ecc9b4ca
commit 69af0e6964
2 changed files with 28 additions and 26 deletions

View file

@ -434,6 +434,8 @@ public:
void finished (GdkEvent *, bool);
void aborted (bool);
void clear_draggingview_list ();
bool regions_came_from_canvas () const {
return true;
}