summaryrefslogtreecommitdiffstats
path: root/src/display/sp-canvas.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2009-03-09 20:19:01 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2009-03-09 20:19:01 +0000
commita50bbcf0ee5b96e54cc956339a427bc3330df228 (patch)
treeecacf9e73822a8432a5d73af531a93d78f62aa06 /src/display/sp-canvas.cpp
parentYet another round of translation update (diff)
downloadinkscape-a50bbcf0ee5b96e54cc956339a427bc3330df228.tar.gz
inkscape-a50bbcf0ee5b96e54cc956339a427bc3330df228.zip
Fix #338838, in which zooming and panning with the middle mouse button made Inkscape inrespronsive
(bzr r7461)
Diffstat (limited to 'src/display/sp-canvas.cpp')
-rw-r--r--src/display/sp-canvas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp
index 75a1f4e63..0f9e883ed 100644
--- a/src/display/sp-canvas.cpp
+++ b/src/display/sp-canvas.cpp
@@ -1681,6 +1681,7 @@ gboolean sp_canvas_snap_watchdog_callback(gpointer data)
dt->namedview->snap_manager.snapprefs.setSnapPostponedGlobally(false);
}
+ ((GdkEventMotion *)canvas->watchdog_event)->time = GDK_CURRENT_TIME;
emit_event(canvas, canvas->watchdog_event);
gdk_event_free(canvas->watchdog_event);
canvas->watchdog_event = NULL;