Xi: add deviceid to QueryDevicePointer request.

Why not, we had the padding anyway.
Suggested by Jim Gettys on the X.Org mailing list.
This commit is contained in:
Peter Hutterer 2008-03-04 18:29:15 +10:30
parent 4f2cd0ed96
commit 7b4f3616f7

View File

@ -113,6 +113,7 @@ ProcXQueryDevicePointer(ClientPtr client)
rep.rootX = pSprite->hot.x; rep.rootX = pSprite->hot.x;
rep.rootY = pSprite->hot.y; rep.rootY = pSprite->hot.y;
rep.child = None; rep.child = None;
rep.deviceid = pDev->id;
if (pSprite->hot.pScreen == pWin->drawable.pScreen) if (pSprite->hot.pScreen == pWin->drawable.pScreen)
{ {