Lines Matching defs:pDev
80 DeviceIntPtr pDev, kbd;
90 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixReadAccess);
97 if (pDev->valuator == NULL || IsKeyboardDevice(pDev) ||
98 (!IsMaster(pDev) && pDev->u.master)) /* no attached devices */
112 if (pDev->valuator->motionHintWindow)
113 MaybeStopHint(pDev, client);
115 if (IsMaster(pDev))
116 kbd = GetPairedDevice(pDev);
118 kbd = (pDev->key) ? pDev : NULL;
120 pSprite = pDev->spriteInfo->sprite;
127 rep.root = (GetCurrentRootWindow(pDev))->drawable.id;
144 if (pDev->button)
154 down = pDev->button->buttonsDown;
156 for (i = 0; i < pDev->button->numButtons && down; i++)
158 if (BitIsOn(pDev->button->down, i))