You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KasmVNC/unix
lhchavez 25b8e64adb Add support for notifying clients about pointer movements
This change adds support for the VMware Mouse Position
pseudo-encoding[1], which is used to notify VNC clients when X11 clients
call `XWarpPointer()`[2]. This function is called by SDL (and other
similar libraries)  when they detect that the server does not support
native relative motion, like some RFB clients.

With this, RFB clients can choose to adjust the local cursor position
under certain circumstances to match what the server has set. For
instance, if pointer lock has been enabled on the client's machine and
the cursor is not being drawn locally, the local position of the cursor
is irrelevant, so the RFB client can use what the server sends as the
canonical absolute position of the cursor. This ultimately enables the
possibility of games (especially FPS games) to behave how users expect
(if the clients implement the corresponding change).

Part of: #619

1: https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#vmware-cursor-position-pseudo-encoding
2: https://tronche.com/gui/x/xlib/input/XWarpPointer.html
3: https://hg.libsdl.org/SDL/file/28e3b60e2131/src/events/SDL_mouse.c#l804
4 years ago
..
common Initial commit 5 years ago
kasmvncpasswd kasmvncpasswd: Nicer behavior when piping a password, add example in help 4 years ago
tx Initial commit 5 years ago
vncconfig Initial commit 5 years ago
vncpasswd Initial commit 5 years ago
xserver/hw/vnc Add support for notifying clients about pointer movements 4 years ago
CMakeLists.txt Add option to pass the password in an encrypted file, kasmvncpasswd utility 5 years ago
vncserver Update FSF address in licences to please rpmlint 4 years ago
vncserver.man Initial commit 5 years ago
xserver116.patch Initial commit 5 years ago
xserver117.patch Initial commit 5 years ago
xserver118.patch Initial commit 5 years ago
xserver119.patch Initial commit 5 years ago
xserver120.patch Initial commit 5 years ago