Code

Fix #338838, in which zooming and panning with the middle mouse button made Inkscape...
[inkscape.git] / src / display / sp-canvas.cpp
index 75a1f4e63cba6fe9fd28831353be38144952ca68..0f9e883ed4376a9db8a9bb700b9e282d381010b2 100644 (file)
@@ -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;