KasmVNC/unix/xserver/hw/vnc
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
2021-03-29 11:27:54 +03:00
..
.gitignore Initial commit 2020-09-20 12:16:44 +00:00
buildtime.c Initial commit 2020-09-20 12:16:44 +00:00
Input.c Manually merged region changes 2021-03-22 10:36:39 +00:00
Input.h Manually merged region changes 2021-03-22 10:36:39 +00:00
InputXKB.c Initial commit 2020-09-20 12:16:44 +00:00
Makefile.am Add option to pass the password in an encrypted file, kasmvncpasswd utility 2020-10-01 14:37:51 +03:00
qnum_to_xorgevdev.c Update keycode maps to latest version 2021-03-29 10:57:41 +03:00
qnum_to_xorgkbd.c Update keycode maps to latest version 2021-03-29 10:57:41 +03:00
RandrGlue.c Initial commit 2020-09-20 12:16:44 +00:00
RFBGlue.cc Tolerate specifying -BoolParam 0 and similar 2020-09-21 13:54:41 +03:00
RFBGlue.h Tolerate specifying -BoolParam 0 and similar 2020-09-21 13:54:41 +03:00
vncBlockHandler.c Initial commit 2020-09-20 12:16:44 +00:00
vncBlockHandler.h Initial commit 2020-09-20 12:16:44 +00:00
vncExt.c Initial commit 2020-09-20 12:16:44 +00:00
vncExtInit.cc Add support for notifying clients about pointer movements 2021-03-29 11:27:54 +03:00
vncExtInit.h Add support for notifying clients about pointer movements 2021-03-29 11:27:54 +03:00
vncHooks.c Add support for notifying clients about pointer movements 2021-03-29 11:27:54 +03:00
vncHooks.h Initial commit 2020-09-20 12:16:44 +00:00
vncModule.c Initial commit 2020-09-20 12:16:44 +00:00
vncSelection.c Drop other selection on ownership change 2021-03-29 11:03:38 +03:00
vncSelection.h Initial commit 2020-09-20 12:16:44 +00:00
xorg-version.h Initial commit 2020-09-20 12:16:44 +00:00
XorgGlue.c Initial commit 2020-09-20 12:16:44 +00:00
XorgGlue.h Initial commit 2020-09-20 12:16:44 +00:00
XserverDesktop.cc Add support for notifying clients about pointer movements 2021-03-29 11:27:54 +03:00
XserverDesktop.h Add support for notifying clients about pointer movements 2021-03-29 11:27:54 +03:00
xvnc.c Tolerate specifying -BoolParam 0 and similar 2020-09-21 13:54:41 +03:00
Xvnc.man Enable basicauth by default, remove the option to supply it on the command line 2021-03-25 11:25:30 +02:00