- *
- * First, translate the event coordinates into the canvas
- * coordinate space that DragManager::motion_handler is
- * expecting (this requires translation into the *window*
- * coordinates for the track canvas window, and then conversion
- * from window to canvas coordinate spaces).
- *
- * Then fake a DragManager motion event so that when
- * maybe_autoscroll asks DragManager for the current pointer
- * position it will get the correct answers.
- */
-
- int tx, ty;
- controls_ebox.translate_coordinates (*_editor.get_track_canvas(), ev->x, ev->y, tx, ty);
-
- /* x-axis of track headers is not shared with the canvas, but
- the y-axis is, so we we can get a valid translation here.
- */