Change coordinates to fit margin.
Source position: gpm.pp line 198
function gpm_fitvaluesM(  | 
var x: LongInt;  | 
var y: LongInt;  | 
margin: LongInt  | 
):LongInt;  | 
Gpm_FitValuesM changes x and y so they fit in the margin indicated by margin. If margin is -1, then the values are fitted to the screen. The actual mouse pointer is not affected by this function.
None.
  | 
Change coordinates to fit physical screen.  |