KasmVNC/win/rfb_win32
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
..
AboutDialog.cxx Initial commit 2020-09-20 12:16:44 +00:00
AboutDialog.h Initial commit 2020-09-20 12:16:44 +00:00
BitmapInfo.h Initial commit 2020-09-20 12:16:44 +00:00
CleanDesktop.cxx Initial commit 2020-09-20 12:16:44 +00:00
CleanDesktop.h Initial commit 2020-09-20 12:16:44 +00:00
Clipboard.cxx Initial commit 2020-09-20 12:16:44 +00:00
Clipboard.h Initial commit 2020-09-20 12:16:44 +00:00
CMakeLists.txt Initial commit 2020-09-20 12:16:44 +00:00
CompatibleBitmap.h Initial commit 2020-09-20 12:16:44 +00:00
ComputerName.h Initial commit 2020-09-20 12:16:44 +00:00
CurrentUser.cxx Initial commit 2020-09-20 12:16:44 +00:00
CurrentUser.h Initial commit 2020-09-20 12:16:44 +00:00
DeviceContext.cxx Initial commit 2020-09-20 12:16:44 +00:00
DeviceContext.h Initial commit 2020-09-20 12:16:44 +00:00
DeviceFrameBuffer.cxx Initial commit 2020-09-20 12:16:44 +00:00
DeviceFrameBuffer.h Initial commit 2020-09-20 12:16:44 +00:00
Dialog.cxx Initial commit 2020-09-20 12:16:44 +00:00
Dialog.h Initial commit 2020-09-20 12:16:44 +00:00
DIBSectionBuffer.cxx Don't clear complex objects using memset() 2020-09-21 13:43:40 +03:00
DIBSectionBuffer.h Initial commit 2020-09-20 12:16:44 +00:00
EventManager.cxx Initial commit 2020-09-20 12:16:44 +00:00
EventManager.h Initial commit 2020-09-20 12:16:44 +00:00
Handle.h Initial commit 2020-09-20 12:16:44 +00:00
IconInfo.h Initial commit 2020-09-20 12:16:44 +00:00
IntervalTimer.h Initial commit 2020-09-20 12:16:44 +00:00
keymap.h Initial commit 2020-09-20 12:16:44 +00:00
LaunchProcess.cxx Initial commit 2020-09-20 12:16:44 +00:00
LaunchProcess.h Initial commit 2020-09-20 12:16:44 +00:00
ListViewControl.cxx Initial commit 2020-09-20 12:16:44 +00:00
ListViewControl.h Initial commit 2020-09-20 12:16:44 +00:00
LocalMem.h Initial commit 2020-09-20 12:16:44 +00:00
ModuleFileName.h Initial commit 2020-09-20 12:16:44 +00:00
MonitorInfo.cxx Don't clear complex objects using memset() 2020-09-21 13:43:40 +03:00
MonitorInfo.h Initial commit 2020-09-20 12:16:44 +00:00
MsgBox.h Initial commit 2020-09-20 12:16:44 +00:00
MsgWindow.cxx Initial commit 2020-09-20 12:16:44 +00:00
MsgWindow.h Initial commit 2020-09-20 12:16:44 +00:00
RegConfig.cxx Initial commit 2020-09-20 12:16:44 +00:00
RegConfig.h Initial commit 2020-09-20 12:16:44 +00:00
Registry.cxx Use size_t for lengths in stream objects 2020-09-21 12:55:59 +03:00
Registry.h Use size_t for lengths in stream objects 2020-09-21 12:55:59 +03:00
resource.h Initial commit 2020-09-20 12:16:44 +00:00
SDisplay.cxx Add support for notifying clients about pointer movements 2021-03-29 11:27:54 +03:00
SDisplay.h Remove remnants of the old HTTP server 2020-09-21 13:17:11 +03:00
SDisplayCorePolling.cxx Initial commit 2020-09-20 12:16:44 +00:00
SDisplayCorePolling.h Initial commit 2020-09-20 12:16:44 +00:00
SDisplayCoreWMHooks.cxx Initial commit 2020-09-20 12:16:44 +00:00
SDisplayCoreWMHooks.h Initial commit 2020-09-20 12:16:44 +00:00
Security.cxx Initial commit 2020-09-20 12:16:44 +00:00
Security.h Initial commit 2020-09-20 12:16:44 +00:00
SecurityPage.cxx Initial commit 2020-09-20 12:16:44 +00:00
SecurityPage.h Initial commit 2020-09-20 12:16:44 +00:00
Service.cxx Initial commit 2020-09-20 12:16:44 +00:00
Service.h Initial commit 2020-09-20 12:16:44 +00:00
SInput.cxx Initial commit 2020-09-20 12:16:44 +00:00
SInput.h Initial commit 2020-09-20 12:16:44 +00:00
SocketManager.cxx Initial commit 2020-09-20 12:16:44 +00:00
SocketManager.h Initial commit 2020-09-20 12:16:44 +00:00
TCharArray.cxx Initial commit 2020-09-20 12:16:44 +00:00
TCharArray.h Initial commit 2020-09-20 12:16:44 +00:00
TrayIcon.h Initial commit 2020-09-20 12:16:44 +00:00
TsSessions.cxx Initial commit 2020-09-20 12:16:44 +00:00
TsSessions.h Initial commit 2020-09-20 12:16:44 +00:00
Win32Util.cxx Initial commit 2020-09-20 12:16:44 +00:00
Win32Util.h Initial commit 2020-09-20 12:16:44 +00:00
WMCursor.cxx Initial commit 2020-09-20 12:16:44 +00:00
WMCursor.h Initial commit 2020-09-20 12:16:44 +00:00
WMHooks.cxx Initial commit 2020-09-20 12:16:44 +00:00
WMHooks.h Initial commit 2020-09-20 12:16:44 +00:00
WMNotifier.cxx Initial commit 2020-09-20 12:16:44 +00:00
WMNotifier.h Initial commit 2020-09-20 12:16:44 +00:00
WMPoller.cxx Initial commit 2020-09-20 12:16:44 +00:00
WMPoller.h Initial commit 2020-09-20 12:16:44 +00:00
WMShatter.cxx Initial commit 2020-09-20 12:16:44 +00:00
WMShatter.h Initial commit 2020-09-20 12:16:44 +00:00
WMWindowCopyRect.cxx Initial commit 2020-09-20 12:16:44 +00:00
WMWindowCopyRect.h Initial commit 2020-09-20 12:16:44 +00:00