summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1ff0118)
raw | patch | inline | side by side (parent: 1ff0118)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 18 Jan 2006 07:29:52 +0000 (07:29 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 18 Jan 2006 07:29:52 +0000 (07:29 +0000) |
src/knot.cpp | patch | blob | history |
diff --git a/src/knot.cpp b/src/knot.cpp
index af567e6e4c5f0bbaa225f4006503a06448c04e0c..12fa710663fd41a1a4c56bbe1cd57622f5186856 100644 (file)
--- a/src/knot.cpp
+++ b/src/knot.cpp
}
/**
- * Move knot to new position, without emitting a MOVED signal.
+ * Move knot to new position, without emitting a MOVED signal. We can't be sure this artificial
+ * move has moved the knot from under cursor, but it seems likely, so we clear SP_KNOT_MOUSEOVER.
*/
void sp_knot_moveto(SPKnot *knot, NR::Point *p)
{
if (knot->item) {
SP_CTRL(knot->item)->moveto (*p);
}
+
+ sp_knot_set_flag(knot, SP_KNOT_MOUSEOVER, FALSE);
}
/**