﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
9321	PutMouseEventAbsolute function produces a click with -2 offset on each coordinate -> duplicate of #7566	Sergey		"I am using VirtualBox SDK to move/click mouse on guest from app running on host through IMouse interface. I've noticed that when I call PutMouseEventAbsolute(x, y, 0, 0, 1) the real click happens at (x-2,y-2) position.

GA are installed, but Mouse Integration is disabled for the guest.

I have created .NET wrapper for VirtualBox.exe with tlbimp tool.

My program looks like this:

/////////////

VirtualBoxClass	vbc = new VirtualBoxClass();
			
IMachine vm = vbc.FindMachine(""w7"");

SessionClass s = new SessionClass();

vm.LockMachine(s, LockType.LockType_Shared);

s.Console.Mouse.PutMouseEventAbsolute(100, 100, 0, 0, 1);

///////////

the click happens at (98,98)"	defect	closed	other	VirtualBox 4.1.0	duplicate	IMouse, PutMouseEventAbsolute		other	other
