Re: [PATCH xserver 2/2] xwayland: fix motion coordinates

2012-08-01 Thread Tiago Vignatti
On 08/01/2012 05:34 AM, Kristian Høgsberg wrote: On Tue, Jul 31, 2012 at 03:46:12PM +0300, Tiago Vignatti wrote: clients were getting one pixel shifted on each axis. Why is this off-by-one? I haven't checked why. The valuators conversion performed and their values accepted at xf86PostMotion

Re: [PATCH xserver 2/2] xwayland: fix motion coordinates

2012-07-31 Thread Kristian Høgsberg
On Tue, Jul 31, 2012 at 03:46:12PM +0300, Tiago Vignatti wrote: > clients were getting one pixel shifted on each axis. Why is this off-by-one? Kristian > Signed-off-by: Tiago Vignatti > --- > hw/xfree86/xwayland/xwayland-input.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

[PATCH xserver 2/2] xwayland: fix motion coordinates

2012-07-31 Thread Tiago Vignatti
clients were getting one pixel shifted on each axis. Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xwayland-input.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/xwayland/xwayland-input.c b/hw/xfree86/xwayland/xwayland-input.c index d9f352f..e31fb