Lines Matching defs:pDev
79 DeviceIntPtr pDev, kbd;
100 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixReadAccess);
106 if (pDev->valuator == NULL || IsKeyboardDevice(pDev) || (!IsMaster(pDev) && !IsFloating(pDev))) { /* no attached devices */
117 if (pDev->valuator->motionHintWindow)
118 MaybeStopHint(pDev, client);
120 if (IsMaster(pDev))
121 kbd = GetMaster(pDev, MASTER_KEYBOARD);
123 kbd = (pDev->key) ? pDev : NULL;
125 pSprite = pDev->spriteInfo->sprite;
132 .root = (GetCurrentRootWindow(pDev))->drawable.id,
149 if (pDev->button) {
159 for (i = 1; i < pDev->button->numButtons; i++)
160 if (BitIsOn(pDev->button->down, i))
161 SetBit(buttons, pDev->button->map[i]);
163 if (!have_xi22 && pDev->touch && pDev->touch->buttonsDown > 0)
164 SetBit(buttons, pDev->button->map[1]);