--- rxvt-unicode/src/rxvtperl.xs 2006/01/20 18:50:49 1.84 +++ rxvt-unicode/src/rxvtperl.xs 2006/01/20 22:05:41 1.85 @@ -598,7 +598,7 @@ setuv (time, xe->xmotion.time); setiv (x, xe->xmotion.x); setiv (y, xe->xmotion.y); - setiv (row, xe->xmotion.y / term->fheight); + setiv (row, xe->xmotion.y / term->fheight + term->view_start); setiv (col, xe->xmotion.x / term->fwidth); setiv (x_root, xe->xmotion.x_root); setiv (y_root, xe->xmotion.y_root);