Index: trunk/src/crosshair.c =================================================================== --- trunk/src/crosshair.c (revision 17324) +++ trunk/src/crosshair.c (revision 17325) @@ -999,6 +999,8 @@ pcb_bool pcb_crosshair_move_absolute(pcb_coord_t X, pcb_coord_t Y) { pcb_coord_t x, y, z; + pcb_crosshair.ptr_x = X; + pcb_crosshair.ptr_y = Y; x = pcb_crosshair.X; y = pcb_crosshair.Y; pcb_crosshair_grid_fit(X, Y); Index: trunk/src/crosshair.h =================================================================== --- trunk/src/crosshair.h (revision 17324) +++ trunk/src/crosshair.h (revision 17325) @@ -70,6 +70,7 @@ typedef struct { /* holds cursor information */ pcb_hid_gc_t GC, /* GC for cursor drawing */ AttachGC; /* and for displaying buffer contents */ + pcb_coord_t ptr_x, ptr_y; /* last seen mouse pointer x;y coords */ pcb_coord_t X, Y, /* position in PCB coordinates */ MinX, MinY, /* lowest and highest coordinates */ MaxX, MaxY;