Skip to content

Commit

Permalink
Properly propagate CursorWarpedTo()
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CendioOssman committed Mar 14, 2024
1 parent e9d7851 commit 97dd7f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions unix/xserver/hw/vnc/vncHooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97dd7f1

Please sign in to comment.