Lines Matching full:request

29  * Protocol testing for XIWarpPointer request.
104 xXIWarpPointerReq request; in test_XIWarpPointer() local
106 memset(&request, 0, sizeof(request)); in test_XIWarpPointer()
108 request_init(&request, XIWarpPointer); in test_XIWarpPointer()
110 client_request = init_client(request.length, &request); in test_XIWarpPointer()
112 request.deviceid = XIAllDevices; in test_XIWarpPointer()
113 request_XIWarpPointer(&client_request, &request, BadDevice); in test_XIWarpPointer()
115 request.deviceid = XIAllMasterDevices; in test_XIWarpPointer()
116 request_XIWarpPointer(&client_request, &request, BadDevice); in test_XIWarpPointer()
118 request.src_win = root.drawable.id; in test_XIWarpPointer()
119 request.dst_win = root.drawable.id; in test_XIWarpPointer()
120 request.deviceid = devices.vcp->id; in test_XIWarpPointer()
121 request_XIWarpPointer(&client_request, &request, Success); in test_XIWarpPointer()
122 request.deviceid = devices.vck->id; in test_XIWarpPointer()
123 request_XIWarpPointer(&client_request, &request, BadDevice); in test_XIWarpPointer()
124 request.deviceid = devices.mouse->id; in test_XIWarpPointer()
125 request_XIWarpPointer(&client_request, &request, BadDevice); in test_XIWarpPointer()
126 request.deviceid = devices.kbd->id; in test_XIWarpPointer()
127 request_XIWarpPointer(&client_request, &request, BadDevice); in test_XIWarpPointer()
130 request.deviceid = devices.mouse->id; in test_XIWarpPointer()
131 request_XIWarpPointer(&client_request, &request, Success); in test_XIWarpPointer()
134 request.deviceid = i; in test_XIWarpPointer()
135 request_XIWarpPointer(&client_request, &request, BadDevice); in test_XIWarpPointer()
138 request.src_win = window.drawable.id; in test_XIWarpPointer()
139 request.deviceid = devices.vcp->id; in test_XIWarpPointer()
140 request_XIWarpPointer(&client_request, &request, Success); in test_XIWarpPointer()
142 request.deviceid = devices.mouse->id; in test_XIWarpPointer()
143 request_XIWarpPointer(&client_request, &request, Success); in test_XIWarpPointer()
145 request.src_win = root.drawable.id; in test_XIWarpPointer()
146 request.dst_win = 0xFFFF; /* invalid window */ in test_XIWarpPointer()
147 request_XIWarpPointer(&client_request, &request, BadWindow); in test_XIWarpPointer()
149 request.src_win = 0xFFFF; /* invalid window */ in test_XIWarpPointer()
150 request.dst_win = root.drawable.id; in test_XIWarpPointer()
151 request_XIWarpPointer(&client_request, &request, BadWindow); in test_XIWarpPointer()
153 request.src_win = None; in test_XIWarpPointer()
154 request.dst_win = None; in test_XIWarpPointer()
156 request.dst_y = 0; in test_XIWarpPointer()
159 request.dst_x = 1 << 16; in test_XIWarpPointer()
161 request.deviceid = devices.vcp->id; in test_XIWarpPointer()
162 request_XIWarpPointer(&client_request, &request, Success); in test_XIWarpPointer()
164 request.dst_x = -1 << 16; in test_XIWarpPointer()
166 request.deviceid = devices.vcp->id; in test_XIWarpPointer()
167 request_XIWarpPointer(&client_request, &request, Success); in test_XIWarpPointer()
169 request.dst_x = 0; in test_XIWarpPointer()
172 request.dst_y = 1 << 16; in test_XIWarpPointer()
174 request.deviceid = devices.vcp->id; in test_XIWarpPointer()
175 request_XIWarpPointer(&client_request, &request, Success); in test_XIWarpPointer()
177 request.dst_y = -1 << 16; in test_XIWarpPointer()
179 request.deviceid = devices.vcp->id; in test_XIWarpPointer()
180 request_XIWarpPointer(&client_request, &request, Success); in test_XIWarpPointer()
185 request_XIWarpPointer(&client_request, &request, BadLength); in test_XIWarpPointer()