From 79b9a044b87a3537261cb9badb0cdf7d4587dd5c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 30 Jun 2014 16:31:31 -0400 Subject: add event-insensitivity to the list of conditions that causes a container to NOT add its children to the list of items-at-point --- libs/canvas/item.cc | 5 +++-- 1 file 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& 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 our_items; - if (!_items.empty() && visible()) { + if (!_items.empty() && visible() && !_ignore_events) { ensure_lut (); our_items = _lut->items_at_point (point); } -- cgit v1.2.3