From da5dec7d7177119ff6f277eff1578a96d5d5c67a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Krzysztof=20Kosi=C5=84ski?= Date: Thu, 11 Feb 2010 03:24:48 +0100 Subject: [PATCH] Correct fix from r9070 so that it doesn't break path highlighting --- src/ui/tool/node-tool.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/ui/tool/node-tool.cpp b/src/ui/tool/node-tool.cpp index 945fe5edd..7ddd3316b 100644 --- a/src/ui/tool/node-tool.cpp +++ b/src/ui/tool/node-tool.cpp @@ -445,8 +445,6 @@ gint ink_node_tool_root_handler(SPEventContext *event_context, GdkEvent *event) switch (event->type) { case GDK_MOTION_NOTIFY: { - if (event->button.button == 1) { - combine_motion_events(desktop->canvas, event->motion, 0); SPItem *over_item = sp_event_context_find_item (desktop, event_point(event->button), FALSE, TRUE); @@ -478,11 +476,9 @@ gint ink_node_tool_root_handler(SPEventContext *event_context, GdkEvent *event) prefs->getInt("/tools/nodes/pathflash_timeout", 500)); c->unref(); } + } break; // do not return true, because we need to pass this event to the parent context + // otherwise some features cease to work - return true; - } - } - break; case GDK_KEY_PRESS: switch (get_group0_keyval(&event->key)) { -- 2.30.2