From 05d7568499bce39b2726a3fa843b9aa98deaeac6 Mon Sep 17 00:00:00 2001
From: Colin Fletcher <colin.m.fletcher@googlemail.com>
Date: Mon, 17 Sep 2018 19:06:21 +0100
Subject: Regions with coincident sync points are equivalent in Enclosed mode


diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc
index 13dcdff32..a1e2de630 100644
--- a/libs/ardour/region.cc
+++ b/libs/ardour/region.cc
@@ -1481,7 +1481,8 @@ bool
 Region::enclosed_equivalent (boost::shared_ptr<const Region> other) const
 {
 	return (first_sample() >= other->first_sample() && last_sample() <= other->last_sample()) ||
-	       (first_sample() <= other->first_sample() && last_sample() >= other->last_sample()) ;
+	       (first_sample() <= other->first_sample() && last_sample() >= other->last_sample()) ||
+	       (sync_position() == other->sync_position());
 }
 
 bool
