xPos := pointerXPos(curr_win); yPos := pointerYPos(curr_win);