Re: [Spice-devel] [PATCH] [spice-html5] Add the top scroll to the cursor offset

2012-08-08 Thread Aric Stewart
There is, however I have not found it materially required of the window is too narrow. -aric On 8/8/12 10:04 AM, Jeremy White wrote: this.x = e.clientX - sc.display.surfaces[sc.display.primary_surface].canvas.offsetLeft; -this.y = e.clientY - sc.display.surfaces[sc.display.

Re: [Spice-devel] [PATCH] [spice-html5] Add the top scroll to the cursor offset

2012-08-08 Thread Jeremy White
> this.x = e.clientX - > sc.display.surfaces[sc.display.primary_surface].canvas.offsetLeft; > -this.y = e.clientY - > sc.display.surfaces[sc.display.primary_surface].canvas.offsetTop; > +this.y = e.clientY - > sc.display.surfaces[sc.display.primary_surface].canvas.offset

[Spice-devel] [PATCH] [spice-html5] Add the top scroll to the cursor offset

2012-08-08 Thread Aric Stewart
Signed-off-by: Aric Stewart --- spicemsg.js |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/spicemsg.js b/spicemsg.js index 41b001d..f4873f1 100644 --- a/spicemsg.js +++ b/spicemsg.js @@ -640,7 +640,7 @@ function SpiceMsgcMousePosition(sc, e) if (e) {