From 81f88ca0856da56bdf426cd065ff0acd3414567f Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Tue, 9 Feb 2010 03:20:18 +0100 Subject: Fix multiple minor problems in the node tool (bzr r9070) --- src/ui/tool/selector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/tool/selector.cpp') diff --git a/src/ui/tool/selector.cpp b/src/ui/tool/selector.cpp index a30f96025..d766d5be3 100644 --- a/src/ui/tool/selector.cpp +++ b/src/ui/tool/selector.cpp @@ -102,8 +102,8 @@ Selector::~Selector() bool Selector::event(GdkEvent *event) { // The hidden control point will capture all events after it obtains the grab, - // but it relies on this function to initiate it. Here we can filter what events - // it will receive. + // but it relies on this function to initiate it. If we pass only first button + // press events here, it won't interfere with any other event handling. switch (event->type) { case GDK_BUTTON_PRESS: // Do not pass button presses other than left button to the control point. -- cgit v1.2.3