summaryrefslogtreecommitdiffstats
path: root/src/display/sp-canvas-item.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2015-06-12 21:50:13 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2015-06-12 21:50:13 +0000
commite90dafdefd3ea63ca7c4f1e070eb367ec4d54e5c (patch)
tree66f962207453d2a97c5757add39c8c2b90dd551b /src/display/sp-canvas-item.h
parent"13940 was not a terrible mistake!" (diff)
downloadinkscape-e90dafdefd3ea63ca7c4f1e070eb367ec4d54e5c.tar.gz
inkscape-e90dafdefd3ea63ca7c4f1e070eb367ec4d54e5c.zip
Make the behavior of the snap indicator fully transparent, such that all events are sent to the items or canvas as intended
Fixed bugs: - https://launchpad.net/bugs/1420301 (bzr r14201)
Diffstat (limited to 'src/display/sp-canvas-item.h')
-rw-r--r--src/display/sp-canvas-item.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/display/sp-canvas-item.h b/src/display/sp-canvas-item.h
index 3b7b7bd4f..3e9e085a0 100644
--- a/src/display/sp-canvas-item.h
+++ b/src/display/sp-canvas-item.h
@@ -69,7 +69,12 @@ struct SPCanvasItem {
gboolean visible;
gboolean need_update;
gboolean need_affine;
-
+
+ // If true, then SPCanvasGroup::point() and sp_canvas_item_invoke_point() will calculate
+ // the distance to the pointer, such that this item can be picked in pickCurrentItem()
+ // Only if an item can be picked, then it can be set as current_item and receive events!
+ bool pickable;
+
bool in_destruction;
};