Lines Matching refs:stuff
78 swaps(&stuff->length); in SProcXGrabDeviceKey()
80 swapl(&stuff->grabWindow); in SProcXGrabDeviceKey()
81 swaps(&stuff->modifiers); in SProcXGrabDeviceKey()
82 swaps(&stuff->event_count); in SProcXGrabDeviceKey()
83 REQUEST_FIXED_SIZE(xGrabDeviceKeyReq, stuff->event_count * sizeof(CARD32)); in SProcXGrabDeviceKey()
84 SwapLongs((CARD32 *) (&stuff[1]), stuff->event_count); in SProcXGrabDeviceKey()
108 if (stuff->length != in ProcXGrabDeviceKey()
109 bytes_to_int32(sizeof(xGrabDeviceKeyReq)) + stuff->event_count) in ProcXGrabDeviceKey()
112 ret = dixLookupDevice(&dev, stuff->grabbed_device, client, DixGrabAccess); in ProcXGrabDeviceKey()
116 if (stuff->modifier_device != UseXKeyboard) { in ProcXGrabDeviceKey()
117 ret = dixLookupDevice(&mdev, stuff->modifier_device, client, in ProcXGrabDeviceKey()
131 class = (XEventClass *) (&stuff[1]); /* first word of values */ in ProcXGrabDeviceKey()
134 stuff->event_count, tmp, dev, in ProcXGrabDeviceKey()
140 .ownerEvents = stuff->ownerEvents, in ProcXGrabDeviceKey()
141 .this_device_mode = stuff->this_device_mode, in ProcXGrabDeviceKey()
142 .other_devices_mode = stuff->other_devices_mode, in ProcXGrabDeviceKey()
143 .grabWindow = stuff->grabWindow, in ProcXGrabDeviceKey()
144 .modifiers = stuff->modifiers in ProcXGrabDeviceKey()
146 mask.xi = tmp[stuff->grabbed_device].mask; in ProcXGrabDeviceKey()
148 ret = GrabKey(client, dev, mdev, stuff->key, ¶m, XI, &mask); in ProcXGrabDeviceKey()