mouse-drag-safe-scroll

mouse-drag-safe-scroll is a compiled Lisp function in `mouse-drag.el'.

(mouse-drag-safe-scroll ROW-DELTA &optional COL-DELTA)

Scroll down ROW-DELTA lines and right COL-DELTA, ignoring buffer edge errors.
Keep the cursor on the screen as needed.