diff options
Diffstat (limited to 'libs/canvas/item.cc')
-rw-r--r-- | libs/canvas/item.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/canvas/item.cc b/libs/canvas/item.cc index f734ecf740..9be1f62d92 100644 --- a/libs/canvas/item.cc +++ b/libs/canvas/item.cc @@ -960,12 +960,13 @@ Item::add_items_at_point (Duple const point, vector<Item const *>& items) const } /* recurse and add any items within our group that contain point. - Our children are only considered visible if we are + Our children are only considered visible if we are, and similarly + only if we do not ignore events. */ vector<Item*> our_items; - if (!_items.empty() && visible()) { + if (!_items.empty() && visible() && !_ignore_events) { ensure_lut (); our_items = _lut->items_at_point (point); } |