Code

Fix performance regressions in the node tool and a stupid crash bug
[inkscape.git] / src / ui / tool / multi-path-manipulator.cpp
index c34ef066e48d448a88ce52b642e1830e9315715e..5d7b520c8d15df2611cedd7858fc92eb20a6ae98 100644 (file)
@@ -516,12 +516,15 @@ bool MultiPathManipulator::event(GdkEvent *event)
             break;
         }
         break;
+    case GDK_MOTION_NOTIFY:
+        combine_motion_events(_desktop->canvas, event->motion, 0);
+        for (MapType::iterator i = _mmap.begin(); i != _mmap.end(); ++i) {
+            if (i->second->event(event)) return true;
+        }
+        break;
     default: break;
     }
 
-    for (MapType::iterator i = _mmap.begin(); i != _mmap.end(); ++i) {
-        if (i->second->event(event)) return true;
-    }
     return false;
 }