If you are writing your own custom webapp, you will need to make use of the
following features of guacamole-common-js to have the mouse cursor behave
as you describe:

1) The "onmouseout" event of Guacamole.Mouse (to detect when the mouse
leaves the relevant area):
http://guacamole.apache.org/doc/guacamole-common-js/Guacamole.Mouse.html#event:onmouseout
2) showCursor() of Guacamole.Display (to show/hide the cursor):
http://guacamole.apache.org/doc/guacamole-common-js/Guacamole.Display.html#showCursor

You might also want to leverage the actual browser cursor rather than the
software cursor by handling Guacamole.Display's "oncursor" event, invoking
setCursor() on Guacamole.Mouse, and then hiding the software cursor if that
succeeds:

http://guacamole.apache.org/doc/guacamole-common-js/Guacamole.Display.html#event:oncursor
http://guacamole.apache.org/doc/guacamole-common-js/Guacamole.Mouse.html#setCursor

Michael Jumper
CEO, Lead Developer
Glyptodon Inc <https://glyp.to/>.


On Mon, May 17, 2021 at 6:51 AM umardraz <unix...@gmail.com> wrote:

> Hello
>
> I am using guacamole-lite with NodeJs and it is working very well, but
> facing a little issue.
>
> Currently the pointer stays in the browser canvas whenever you leave it so
> It is much more seamless when there is only one mouse pointer.
>
> please see the (attached screenshot).
>
> and help me how we can fix this
>
> <
> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/t1799/Double_pointer.png>
>
>
>
>
> --
> Sent from:
> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
> For additional commands, e-mail: user-h...@guacamole.apache.org
>
>

Reply via email to