summaryrefslogtreecommitdiffstats
path: root/src/star-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-08-21 01:37:25 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-08-21 01:37:25 +0000
commit3a42bb51dbbe50879f8a4470851284f2b1d988ef (patch)
treee58cb1ac32af837f5fa3745adee553baa5da0882 /src/star-context.cpp
parentadd colon before value description (diff)
downloadinkscape-3a42bb51dbbe50879f8a4470851284f2b1d988ef.tar.gz
inkscape-3a42bb51dbbe50879f8a4470851284f2b1d988ef.zip
gobble more of motion events; make statusbar messages immediate for better visual feedback
(bzr r3561)
Diffstat (limited to 'src/star-context.cpp')
-rw-r--r--src/star-context.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/star-context.cpp b/src/star-context.cpp
index 385d16d0c..73e230deb 100644
--- a/src/star-context.cpp
+++ b/src/star-context.cpp
@@ -305,6 +305,9 @@ static gint sp_star_context_root_handler(SPEventContext *event_context, GdkEvent
motion_dt = m.freeSnap(Inkscape::Snapper::SNAPPOINT_NODE, motion_dt, sc->item).getPoint();
sp_star_drag (sc, motion_dt, event->motion.state);
+
+ gobble_motion_events(GDK_BUTTON1_MASK);
+
ret = TRUE;
}
break;
@@ -463,7 +466,7 @@ static void sp_star_drag(SPStarContext *sc, NR::Point p, guint state)
/* status text */
GString *rads = SP_PX_TO_METRIC_STRING(r1, desktop->namedview->getDefaultMetric());
- sc->_message_context->setF(Inkscape::NORMAL_MESSAGE,
+ sc->_message_context->setF(Inkscape::IMMEDIATE_MESSAGE,
( sc->isflatsided?
_("<b>Polygon</b>: radius %s, angle %5g&#176;; with <b>Ctrl</b> to snap angle")
: _("<b>Star</b>: radius %s, angle %5g&#176;; with <b>Ctrl</b> to snap angle") ),