mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 09:03:30 +01:00
25b8e64adb
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 |
||
---|---|---|
.. | ||
AboutDialog.cxx | ||
AboutDialog.h | ||
BitmapInfo.h | ||
CleanDesktop.cxx | ||
CleanDesktop.h | ||
Clipboard.cxx | ||
Clipboard.h | ||
CMakeLists.txt | ||
CompatibleBitmap.h | ||
ComputerName.h | ||
CurrentUser.cxx | ||
CurrentUser.h | ||
DeviceContext.cxx | ||
DeviceContext.h | ||
DeviceFrameBuffer.cxx | ||
DeviceFrameBuffer.h | ||
Dialog.cxx | ||
Dialog.h | ||
DIBSectionBuffer.cxx | ||
DIBSectionBuffer.h | ||
EventManager.cxx | ||
EventManager.h | ||
Handle.h | ||
IconInfo.h | ||
IntervalTimer.h | ||
keymap.h | ||
LaunchProcess.cxx | ||
LaunchProcess.h | ||
ListViewControl.cxx | ||
ListViewControl.h | ||
LocalMem.h | ||
ModuleFileName.h | ||
MonitorInfo.cxx | ||
MonitorInfo.h | ||
MsgBox.h | ||
MsgWindow.cxx | ||
MsgWindow.h | ||
RegConfig.cxx | ||
RegConfig.h | ||
Registry.cxx | ||
Registry.h | ||
resource.h | ||
SDisplay.cxx | ||
SDisplay.h | ||
SDisplayCorePolling.cxx | ||
SDisplayCorePolling.h | ||
SDisplayCoreWMHooks.cxx | ||
SDisplayCoreWMHooks.h | ||
Security.cxx | ||
Security.h | ||
SecurityPage.cxx | ||
SecurityPage.h | ||
Service.cxx | ||
Service.h | ||
SInput.cxx | ||
SInput.h | ||
SocketManager.cxx | ||
SocketManager.h | ||
TCharArray.cxx | ||
TCharArray.h | ||
TrayIcon.h | ||
TsSessions.cxx | ||
TsSessions.h | ||
Win32Util.cxx | ||
Win32Util.h | ||
WMCursor.cxx | ||
WMCursor.h | ||
WMHooks.cxx | ||
WMHooks.h | ||
WMNotifier.cxx | ||
WMNotifier.h | ||
WMPoller.cxx | ||
WMPoller.h | ||
WMShatter.cxx | ||
WMShatter.h | ||
WMWindowCopyRect.cxx | ||
WMWindowCopyRect.h |