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/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
4 years ago
..
AboutDialog.cxx Initial commit 5 years ago
AboutDialog.h Initial commit 5 years ago
BitmapInfo.h Initial commit 5 years ago
CMakeLists.txt Initial commit 5 years ago
CleanDesktop.cxx Initial commit 5 years ago
CleanDesktop.h Initial commit 5 years ago
Clipboard.cxx Initial commit 5 years ago
Clipboard.h Initial commit 5 years ago
CompatibleBitmap.h Initial commit 5 years ago
ComputerName.h Initial commit 5 years ago
CurrentUser.cxx Initial commit 5 years ago
CurrentUser.h Initial commit 5 years ago
DIBSectionBuffer.cxx Don't clear complex objects using memset() 5 years ago
DIBSectionBuffer.h Initial commit 5 years ago
DeviceContext.cxx Initial commit 5 years ago
DeviceContext.h Initial commit 5 years ago
DeviceFrameBuffer.cxx Initial commit 5 years ago
DeviceFrameBuffer.h Initial commit 5 years ago
Dialog.cxx Initial commit 5 years ago
Dialog.h Initial commit 5 years ago
EventManager.cxx Initial commit 5 years ago
EventManager.h Initial commit 5 years ago
Handle.h Initial commit 5 years ago
IconInfo.h Initial commit 5 years ago
IntervalTimer.h Initial commit 5 years ago
LaunchProcess.cxx Initial commit 5 years ago
LaunchProcess.h Initial commit 5 years ago
ListViewControl.cxx Initial commit 5 years ago
ListViewControl.h Initial commit 5 years ago
LocalMem.h Initial commit 5 years ago
ModuleFileName.h Initial commit 5 years ago
MonitorInfo.cxx Don't clear complex objects using memset() 5 years ago
MonitorInfo.h Initial commit 5 years ago
MsgBox.h Initial commit 5 years ago
MsgWindow.cxx Initial commit 5 years ago
MsgWindow.h Initial commit 5 years ago
RegConfig.cxx Initial commit 5 years ago
RegConfig.h Initial commit 5 years ago
Registry.cxx Use size_t for lengths in stream objects 5 years ago
Registry.h Use size_t for lengths in stream objects 5 years ago
SDisplay.cxx Add support for notifying clients about pointer movements 4 years ago
SDisplay.h Remove remnants of the old HTTP server 5 years ago
SDisplayCorePolling.cxx Initial commit 5 years ago
SDisplayCorePolling.h Initial commit 5 years ago
SDisplayCoreWMHooks.cxx Initial commit 5 years ago
SDisplayCoreWMHooks.h Initial commit 5 years ago
SInput.cxx Initial commit 5 years ago
SInput.h Initial commit 5 years ago
Security.cxx Initial commit 5 years ago
Security.h Initial commit 5 years ago
SecurityPage.cxx Initial commit 5 years ago
SecurityPage.h Initial commit 5 years ago
Service.cxx Initial commit 5 years ago
Service.h Initial commit 5 years ago
SocketManager.cxx Initial commit 5 years ago
SocketManager.h Initial commit 5 years ago
TCharArray.cxx Initial commit 5 years ago
TCharArray.h Initial commit 5 years ago
TrayIcon.h Initial commit 5 years ago
TsSessions.cxx Initial commit 5 years ago
TsSessions.h Initial commit 5 years ago
WMCursor.cxx Initial commit 5 years ago
WMCursor.h Initial commit 5 years ago
WMHooks.cxx Initial commit 5 years ago
WMHooks.h Initial commit 5 years ago
WMNotifier.cxx Initial commit 5 years ago
WMNotifier.h Initial commit 5 years ago
WMPoller.cxx Initial commit 5 years ago
WMPoller.h Initial commit 5 years ago
WMShatter.cxx Initial commit 5 years ago
WMShatter.h Initial commit 5 years ago
WMWindowCopyRect.cxx Initial commit 5 years ago
WMWindowCopyRect.h Initial commit 5 years ago
Win32Util.cxx Initial commit 5 years ago
Win32Util.h Initial commit 5 years ago
keymap.h Initial commit 5 years ago
resource.h Initial commit 5 years ago