From: buliabyak <> Date: Wed, 10 Feb 2010 21:31:18 +0000 (-0400) Subject: fix middle button pan and rubberband-zoom in node tool X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=eb427045b81837d01862b5a094ddfc582515d48c;p=inkscape.git fix middle button pan and rubberband-zoom in node tool --- diff --git a/src/ui/tool/node-tool.cpp b/src/ui/tool/node-tool.cpp index 663504b52..945fe5edd 100644 --- a/src/ui/tool/node-tool.cpp +++ b/src/ui/tool/node-tool.cpp @@ -445,6 +445,8 @@ 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); @@ -476,7 +478,11 @@ gint ink_node_tool_root_handler(SPEventContext *event_context, GdkEvent *event) prefs->getInt("/tools/nodes/pathflash_timeout", 500)); c->unref(); } - } return true; + + return true; + } + } + break; case GDK_KEY_PRESS: switch (get_group0_keyval(&event->key)) {