Browse Source

Properly propagate CursorWarpedTo()

Although unlikely, there might be other parts of the X server that are
also interested in this call. Make sure we propagate things on properly.
pull/1738/head
Pierre Ossman 2 months ago
parent
commit
97dd7f1c25
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      unix/xserver/hw/vnc/vncHooks.c

+ 5
- 0
unix/xserver/hw/vnc/vncHooks.c View File

@@ -638,7 +638,12 @@ static void vncHooksCursorWarpedTo(DeviceIntPtr pDev,
int x, int y)
{
SCREEN_PROLOGUE(pScreen_, CursorWarpedTo);

if (pScreen->CursorWarpedTo)
(*pScreen->CursorWarpedTo) (pDev, pScreen_, pClient, pWindow, pSprite, x, y);

vncSetCursorPos(pScreen->myNum, x, y);

SCREEN_EPILOGUE(CursorWarpedTo);
}
#endif

Loading…
Cancel
Save