summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-03-04 18:29:15 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-03-04 18:29:15 +1030
commit7b4f3616f75a541b819d99c28bb6cb73761b6066 (patch)
tree642d198f376ca4a724b77d52d723920b7c410ac6
parent4f2cd0ed96d3b10c78774c721c2ffbfb0556dddd (diff)
Xi: add deviceid to QueryDevicePointer request.
Why not, we had the padding anyway. Suggested by Jim Gettys on the X.Org mailing list.
-rw-r--r--Xi/querydp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xi/querydp.c b/Xi/querydp.c
index 310334693..ac11025b3 100644
--- a/Xi/querydp.c
+++ b/Xi/querydp.c
@@ -113,6 +113,7 @@ ProcXQueryDevicePointer(ClientPtr client)
rep.rootX = pSprite->hot.x;
rep.rootY = pSprite->hot.y;
rep.child = None;
+ rep.deviceid = pDev->id;
if (pSprite->hot.pScreen == pWin->drawable.pScreen)
{