summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rect-context.cpp')
-rw-r--r--src/rect-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp
index 9eab188dd..a3c3ab0b5 100644
--- a/src/rect-context.cpp
+++ b/src/rect-context.cpp
@@ -317,7 +317,7 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent
sp_rect_drag(*rc, motion_dt, event->motion.state); // this will also handle the snapping
gobble_motion_events(GDK_BUTTON1_MASK);
ret = TRUE;
- } else if (sp_event_context_knot_mouseover(rc)) {
+ } else if (!sp_event_context_knot_mouseover(rc)) {
SnapManager &m = desktop->namedview->snap_manager;
m.setup(desktop);