summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eb42704)
raw | patch | inline | side by side (parent: eb42704)
author | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Thu, 11 Feb 2010 02:24:48 +0000 (03:24 +0100) | ||
committer | Krzysztof Kosiński <tweenk.pl@gmail.com> | |
Thu, 11 Feb 2010 02:24:48 +0000 (03:24 +0100) |
src/ui/tool/node-tool.cpp | patch | blob | history |
index 945fe5edd3c52564d0f949365c67660a5a44c0c4..7ddd3316b5d7c895aa166037780d8e5a8ea55b9c 100644 (file)
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))
{