瀏覽代碼

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 月之前
父節點
當前提交
97dd7f1c25
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      unix/xserver/hw/vnc/vncHooks.c

+ 5
- 0
unix/xserver/hw/vnc/vncHooks.c 查看文件

@@ -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…
取消
儲存