| 1 |
/* |
| 2 |
* Copyright © 2000 Compaq Computer Corporation |
| 3 |
* Copyright © 2002 Hewlett-Packard Company |
| 4 |
* Copyright © 2006 Intel Corporation |
| 5 |
* Copyright © 2008 Red Hat, Inc. |
| 6 |
* |
| 7 |
* Permission to use, copy, modify, distribute, and sell this software and its |
| 8 |
* documentation for any purpose is hereby granted without fee, provided that |
| 9 |
* the above copyright notice appear in all copies and that both that copyright |
| 10 |
* notice and this permission notice appear in supporting documentation, and |
| 11 |
* that the name of the copyright holders not be used in advertising or |
| 12 |
* publicity pertaining to distribution of the software without specific, |
| 13 |
* written prior permission. The copyright holders make no representations |
| 14 |
* about the suitability of this software for any purpose. It is provided "as |
| 15 |
* is" without express or implied warranty. |
| 16 |
* |
| 17 |
* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
| 18 |
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
| 19 |
* EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
| 20 |
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
| 21 |
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 22 |
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE |
| 23 |
* OF THIS SOFTWARE. |
| 24 |
* |
| 25 |
* Author: Jim Gettys, Hewlett-Packard Company, Inc. |
| 26 |
* Keith Packard, Intel Corporation |
| 27 |
*/ |
| 28 |
|
| 29 |
/* note that RANDR 1.0 is incompatible with version 0.0, or 0.1 */ |
| 30 |
/* V1.0 removes depth switching from the protocol */ |
| 31 |
#ifndef _XRANDRP_H_ |
| 32 |
#define _XRANDRP_H_ |
| 33 |
|
| 34 |
#include <nx-X11/extensions/randr.h> |
| 35 |
#include <nx-X11/extensions/renderproto.h> |
| 36 |
|
| 37 |
#define Window CARD32 |
| 38 |
#define Drawable CARD32 |
| 39 |
#define Font CARD32 |
| 40 |
#define Pixmap CARD32 |
| 41 |
#define Cursor CARD32 |
| 42 |
#define Colormap CARD32 |
| 43 |
#define GContext CARD32 |
| 44 |
#define Atom CARD32 |
| 45 |
#define Time CARD32 |
| 46 |
#define KeyCode CARD8 |
| 47 |
#define KeySym CARD32 |
| 48 |
#define RROutput CARD32 |
| 49 |
#define RRMode CARD32 |
| 50 |
#define RRCrtc CARD32 |
| 51 |
#define RRProvider CARD32 |
| 52 |
#define RRModeFlags CARD32 |
| 53 |
#define Atom CARD32 |
| 54 |
|
| 55 |
#define Rotation CARD16 |
| 56 |
#define SizeID CARD16 |
| 57 |
#define SubpixelOrder CARD16 |
| 58 |
|
| 59 |
/* |
| 60 |
* data structures |
| 61 |
*/ |
| 62 |
|
| 63 |
typedef struct { |
| 64 |
CARD16 widthInPixels B16; |
| 65 |
CARD16 heightInPixels B16; |
| 66 |
CARD16 widthInMillimeters B16; |
| 67 |
CARD16 heightInMillimeters B16; |
| 68 |
} xScreenSizes; |
| 69 |
|
| 70 |
#define sz_xScreenSizes 8 |
| 71 |
|
| 72 |
/* |
| 73 |
* requests and replies |
| 74 |
*/ |
| 75 |
|
| 76 |
typedef struct { |
| 77 |
CARD8 reqType; |
| 78 |
CARD8 randrReqType; |
| 79 |
CARD16 length B16; |
| 80 |
CARD32 majorVersion B32; |
| 81 |
CARD32 minorVersion B32; |
| 82 |
} xRRQueryVersionReq; |
| 83 |
|
| 84 |
#define sz_xRRQueryVersionReq 12 |
| 85 |
|
| 86 |
typedef struct { |
| 87 |
BYTE type; /* X_Reply */ |
| 88 |
BYTE pad1; |
| 89 |
CARD16 sequenceNumber B16; |
| 90 |
CARD32 length B32; |
| 91 |
CARD32 majorVersion B32; |
| 92 |
CARD32 minorVersion B32; |
| 93 |
CARD32 pad2 B32; |
| 94 |
CARD32 pad3 B32; |
| 95 |
CARD32 pad4 B32; |
| 96 |
CARD32 pad5 B32; |
| 97 |
} xRRQueryVersionReply; |
| 98 |
|
| 99 |
#define sz_xRRQueryVersionReply 32 |
| 100 |
|
| 101 |
typedef struct { |
| 102 |
CARD8 reqType; |
| 103 |
CARD8 randrReqType; |
| 104 |
CARD16 length B16; |
| 105 |
Window window B32; |
| 106 |
} xRRGetScreenInfoReq; |
| 107 |
|
| 108 |
#define sz_xRRGetScreenInfoReq 8 |
| 109 |
|
| 110 |
/* |
| 111 |
* the xRRScreenInfoReply structure is followed by: |
| 112 |
* |
| 113 |
* the size information |
| 114 |
*/ |
| 115 |
|
| 116 |
typedef struct { |
| 117 |
BYTE type; /* X_Reply */ |
| 118 |
BYTE setOfRotations; |
| 119 |
CARD16 sequenceNumber B16; |
| 120 |
CARD32 length B32; |
| 121 |
Window root B32; |
| 122 |
Time timestamp B32; |
| 123 |
Time configTimestamp B32; |
| 124 |
CARD16 nSizes B16; |
| 125 |
SizeID sizeID B16; |
| 126 |
Rotation rotation B16; |
| 127 |
CARD16 rate B16; |
| 128 |
CARD16 nrateEnts B16; |
| 129 |
CARD16 pad B16; |
| 130 |
} xRRGetScreenInfoReply; |
| 131 |
|
| 132 |
#define sz_xRRGetScreenInfoReply 32 |
| 133 |
|
| 134 |
typedef struct { |
| 135 |
CARD8 reqType; |
| 136 |
CARD8 randrReqType; |
| 137 |
CARD16 length B16; |
| 138 |
Drawable drawable B32; |
| 139 |
Time timestamp B32; |
| 140 |
Time configTimestamp B32; |
| 141 |
SizeID sizeID B16; |
| 142 |
Rotation rotation B16; |
| 143 |
} xRR1_0SetScreenConfigReq; |
| 144 |
|
| 145 |
#define sz_xRR1_0SetScreenConfigReq 20 |
| 146 |
|
| 147 |
typedef struct { |
| 148 |
CARD8 reqType; |
| 149 |
CARD8 randrReqType; |
| 150 |
CARD16 length B16; |
| 151 |
Drawable drawable B32; |
| 152 |
Time timestamp B32; |
| 153 |
Time configTimestamp B32; |
| 154 |
SizeID sizeID B16; |
| 155 |
Rotation rotation B16; |
| 156 |
CARD16 rate B16; |
| 157 |
CARD16 pad B16; |
| 158 |
} xRRSetScreenConfigReq; |
| 159 |
|
| 160 |
#define sz_xRRSetScreenConfigReq 24 |
| 161 |
|
| 162 |
typedef struct { |
| 163 |
BYTE type; /* X_Reply */ |
| 164 |
CARD8 status; |
| 165 |
CARD16 sequenceNumber B16; |
| 166 |
CARD32 length B32; |
| 167 |
Time newTimestamp B32; |
| 168 |
Time newConfigTimestamp B32; |
| 169 |
Window root; |
| 170 |
CARD16 subpixelOrder B16; |
| 171 |
CARD16 pad4 B16; |
| 172 |
CARD32 pad5 B32; |
| 173 |
CARD32 pad6 B32; |
| 174 |
} xRRSetScreenConfigReply; |
| 175 |
|
| 176 |
#define sz_xRRSetScreenConfigReply 32 |
| 177 |
|
| 178 |
typedef struct { |
| 179 |
CARD8 reqType; |
| 180 |
CARD8 randrReqType; |
| 181 |
CARD16 length B16; |
| 182 |
Window window B32; |
| 183 |
CARD16 enable B16; |
| 184 |
CARD16 pad2 B16; |
| 185 |
} xRRSelectInputReq; |
| 186 |
|
| 187 |
#define sz_xRRSelectInputReq 12 |
| 188 |
|
| 189 |
/* |
| 190 |
* Additions for version 1.2 |
| 191 |
*/ |
| 192 |
|
| 193 |
typedef struct _xRRModeInfo { |
| 194 |
RRMode id B32; |
| 195 |
CARD16 width B16; |
| 196 |
CARD16 height B16; |
| 197 |
CARD32 dotClock B32; |
| 198 |
CARD16 hSyncStart B16; |
| 199 |
CARD16 hSyncEnd B16; |
| 200 |
CARD16 hTotal B16; |
| 201 |
CARD16 hSkew B16; |
| 202 |
CARD16 vSyncStart B16; |
| 203 |
CARD16 vSyncEnd B16; |
| 204 |
CARD16 vTotal B16; |
| 205 |
CARD16 nameLength B16; |
| 206 |
RRModeFlags modeFlags B32; |
| 207 |
} xRRModeInfo; |
| 208 |
|
| 209 |
#define sz_xRRModeInfo 32 |
| 210 |
|
| 211 |
typedef struct { |
| 212 |
CARD8 reqType; |
| 213 |
CARD8 randrReqType; |
| 214 |
CARD16 length B16; |
| 215 |
Window window B32; |
| 216 |
} xRRGetScreenSizeRangeReq; |
| 217 |
|
| 218 |
#define sz_xRRGetScreenSizeRangeReq 8 |
| 219 |
|
| 220 |
typedef struct { |
| 221 |
BYTE type; /* X_Reply */ |
| 222 |
CARD8 pad; |
| 223 |
CARD16 sequenceNumber B16; |
| 224 |
CARD32 length B32; |
| 225 |
CARD16 minWidth B16; |
| 226 |
CARD16 minHeight B16; |
| 227 |
CARD16 maxWidth B16; |
| 228 |
CARD16 maxHeight B16; |
| 229 |
CARD32 pad0 B32; |
| 230 |
CARD32 pad1 B32; |
| 231 |
CARD32 pad2 B32; |
| 232 |
CARD32 pad3 B32; |
| 233 |
} xRRGetScreenSizeRangeReply; |
| 234 |
|
| 235 |
#define sz_xRRGetScreenSizeRangeReply 32 |
| 236 |
|
| 237 |
typedef struct { |
| 238 |
CARD8 reqType; |
| 239 |
CARD8 randrReqType; |
| 240 |
CARD16 length B16; |
| 241 |
Window window B32; |
| 242 |
CARD16 width B16; |
| 243 |
CARD16 height B16; |
| 244 |
CARD32 widthInMillimeters B32; |
| 245 |
CARD32 heightInMillimeters B32; |
| 246 |
} xRRSetScreenSizeReq; |
| 247 |
|
| 248 |
#define sz_xRRSetScreenSizeReq 20 |
| 249 |
|
| 250 |
typedef struct { |
| 251 |
CARD8 reqType; |
| 252 |
CARD8 randrReqType; |
| 253 |
CARD16 length B16; |
| 254 |
Window window B32; |
| 255 |
} xRRGetScreenResourcesReq; |
| 256 |
|
| 257 |
#define sz_xRRGetScreenResourcesReq 8 |
| 258 |
|
| 259 |
typedef struct { |
| 260 |
BYTE type; |
| 261 |
CARD8 pad; |
| 262 |
CARD16 sequenceNumber B16; |
| 263 |
CARD32 length B32; |
| 264 |
Time timestamp B32; |
| 265 |
Time configTimestamp B32; |
| 266 |
CARD16 nCrtcs B16; |
| 267 |
CARD16 nOutputs B16; |
| 268 |
CARD16 nModes B16; |
| 269 |
CARD16 nbytesNames B16; |
| 270 |
CARD32 pad1 B32; |
| 271 |
CARD32 pad2 B32; |
| 272 |
} xRRGetScreenResourcesReply; |
| 273 |
|
| 274 |
#define sz_xRRGetScreenResourcesReply 32 |
| 275 |
|
| 276 |
typedef struct { |
| 277 |
CARD8 reqType; |
| 278 |
CARD8 randrReqType; |
| 279 |
CARD16 length B16; |
| 280 |
RROutput output B32; |
| 281 |
Time configTimestamp B32; |
| 282 |
} xRRGetOutputInfoReq; |
| 283 |
|
| 284 |
#define sz_xRRGetOutputInfoReq 12 |
| 285 |
|
| 286 |
typedef struct { |
| 287 |
BYTE type; |
| 288 |
CARD8 status; |
| 289 |
CARD16 sequenceNumber B16; |
| 290 |
CARD32 length B32; |
| 291 |
Time timestamp B32; |
| 292 |
RRCrtc crtc B32; |
| 293 |
CARD32 mmWidth B32; |
| 294 |
CARD32 mmHeight B32; |
| 295 |
CARD8 connection; |
| 296 |
CARD8 subpixelOrder; |
| 297 |
CARD16 nCrtcs B16; |
| 298 |
CARD16 nModes B16; |
| 299 |
CARD16 nPreferred B16; |
| 300 |
CARD16 nClones B16; |
| 301 |
CARD16 nameLength B16; |
| 302 |
} xRRGetOutputInfoReply; |
| 303 |
|
| 304 |
#define sz_xRRGetOutputInfoReply 36 |
| 305 |
|
| 306 |
typedef struct { |
| 307 |
CARD8 reqType; |
| 308 |
CARD8 randrReqType; |
| 309 |
CARD16 length B16; |
| 310 |
RROutput output B32; |
| 311 |
} xRRListOutputPropertiesReq; |
| 312 |
|
| 313 |
#define sz_xRRListOutputPropertiesReq 8 |
| 314 |
|
| 315 |
typedef struct { |
| 316 |
BYTE type; |
| 317 |
CARD8 pad0; |
| 318 |
CARD16 sequenceNumber B16; |
| 319 |
CARD32 length B32; |
| 320 |
CARD16 nAtoms B16; |
| 321 |
CARD16 pad1 B16; |
| 322 |
CARD32 pad2 B32; |
| 323 |
CARD32 pad3 B32; |
| 324 |
CARD32 pad4 B32; |
| 325 |
CARD32 pad5 B32; |
| 326 |
CARD32 pad6 B32; |
| 327 |
} xRRListOutputPropertiesReply; |
| 328 |
|
| 329 |
#define sz_xRRListOutputPropertiesReply 32 |
| 330 |
|
| 331 |
typedef struct { |
| 332 |
CARD8 reqType; |
| 333 |
CARD8 randrReqType; |
| 334 |
CARD16 length B16; |
| 335 |
RROutput output B32; |
| 336 |
Atom property B32; |
| 337 |
} xRRQueryOutputPropertyReq; |
| 338 |
|
| 339 |
#define sz_xRRQueryOutputPropertyReq 12 |
| 340 |
|
| 341 |
typedef struct { |
| 342 |
BYTE type; |
| 343 |
BYTE pad0; |
| 344 |
CARD16 sequenceNumber B16; |
| 345 |
CARD32 length B32; |
| 346 |
BOOL pending; |
| 347 |
BOOL range; |
| 348 |
BOOL immutable; |
| 349 |
BYTE pad1; |
| 350 |
CARD32 pad2 B32; |
| 351 |
CARD32 pad3 B32; |
| 352 |
CARD32 pad4 B32; |
| 353 |
CARD32 pad5 B32; |
| 354 |
CARD32 pad6 B32; |
| 355 |
} xRRQueryOutputPropertyReply; |
| 356 |
|
| 357 |
#define sz_xRRQueryOutputPropertyReply 32 |
| 358 |
|
| 359 |
typedef struct { |
| 360 |
CARD8 reqType; |
| 361 |
CARD8 randrReqType; |
| 362 |
CARD16 length B16; |
| 363 |
RROutput output B32; |
| 364 |
Atom property B32; |
| 365 |
BOOL pending; |
| 366 |
BOOL range; |
| 367 |
CARD16 pad B16; |
| 368 |
} xRRConfigureOutputPropertyReq; |
| 369 |
|
| 370 |
#define sz_xRRConfigureOutputPropertyReq 16 |
| 371 |
|
| 372 |
typedef struct { |
| 373 |
CARD8 reqType; |
| 374 |
CARD8 randrReqType; |
| 375 |
CARD16 length B16; |
| 376 |
RROutput output B32; |
| 377 |
Atom property B32; |
| 378 |
Atom type B32; |
| 379 |
CARD8 format; |
| 380 |
CARD8 mode; |
| 381 |
CARD16 pad; |
| 382 |
CARD32 nUnits B32; |
| 383 |
} xRRChangeOutputPropertyReq; |
| 384 |
|
| 385 |
#define sz_xRRChangeOutputPropertyReq 24 |
| 386 |
|
| 387 |
typedef struct { |
| 388 |
CARD8 reqType; |
| 389 |
CARD8 randrReqType; |
| 390 |
CARD16 length B16; |
| 391 |
RROutput output B32; |
| 392 |
Atom property B32; |
| 393 |
} xRRDeleteOutputPropertyReq; |
| 394 |
|
| 395 |
#define sz_xRRDeleteOutputPropertyReq 12 |
| 396 |
|
| 397 |
typedef struct { |
| 398 |
CARD8 reqType; |
| 399 |
CARD8 randrReqType; |
| 400 |
CARD16 length B16; |
| 401 |
RROutput output B32; |
| 402 |
Atom property B32; |
| 403 |
Atom type B32; |
| 404 |
CARD32 longOffset B32; |
| 405 |
CARD32 longLength B32; |
| 406 |
#ifdef __cplusplus |
| 407 |
BOOL _delete; |
| 408 |
#else |
| 409 |
BOOL delete; |
| 410 |
#endif |
| 411 |
BOOL pending; |
| 412 |
CARD16 pad1 B16; |
| 413 |
} xRRGetOutputPropertyReq; |
| 414 |
|
| 415 |
#define sz_xRRGetOutputPropertyReq 28 |
| 416 |
|
| 417 |
typedef struct { |
| 418 |
BYTE type; |
| 419 |
CARD8 format; |
| 420 |
CARD16 sequenceNumber B16; |
| 421 |
CARD32 length B32; |
| 422 |
Atom propertyType B32; |
| 423 |
CARD32 bytesAfter B32; |
| 424 |
CARD32 nItems B32; |
| 425 |
CARD32 pad1 B32; |
| 426 |
CARD32 pad2 B32; |
| 427 |
CARD32 pad3 B32; |
| 428 |
} xRRGetOutputPropertyReply; |
| 429 |
|
| 430 |
#define sz_xRRGetOutputPropertyReply 32 |
| 431 |
|
| 432 |
typedef struct { |
| 433 |
CARD8 reqType; |
| 434 |
CARD8 randrReqType; |
| 435 |
CARD16 length B16; |
| 436 |
Window window B32; |
| 437 |
xRRModeInfo modeInfo; |
| 438 |
} xRRCreateModeReq; |
| 439 |
|
| 440 |
#define sz_xRRCreateModeReq 40 |
| 441 |
|
| 442 |
typedef struct { |
| 443 |
BYTE type; |
| 444 |
CARD8 pad0; |
| 445 |
CARD16 sequenceNumber B16; |
| 446 |
CARD32 length B32; |
| 447 |
RRMode mode B32; |
| 448 |
CARD32 pad1 B32; |
| 449 |
CARD32 pad2 B32; |
| 450 |
CARD32 pad3 B32; |
| 451 |
CARD32 pad4 B32; |
| 452 |
CARD32 pad5 B32; |
| 453 |
} xRRCreateModeReply; |
| 454 |
|
| 455 |
#define sz_xRRCreateModeReply 32 |
| 456 |
|
| 457 |
typedef struct { |
| 458 |
CARD8 reqType; |
| 459 |
CARD8 randrReqType; |
| 460 |
CARD16 length B16; |
| 461 |
RRMode mode B32; |
| 462 |
} xRRDestroyModeReq; |
| 463 |
|
| 464 |
#define sz_xRRDestroyModeReq 8 |
| 465 |
|
| 466 |
typedef struct { |
| 467 |
CARD8 reqType; |
| 468 |
CARD8 randrReqType; |
| 469 |
CARD16 length B16; |
| 470 |
RROutput output B32; |
| 471 |
RRMode mode B32; |
| 472 |
} xRRAddOutputModeReq; |
| 473 |
|
| 474 |
#define sz_xRRAddOutputModeReq 12 |
| 475 |
|
| 476 |
typedef struct { |
| 477 |
CARD8 reqType; |
| 478 |
CARD8 randrReqType; |
| 479 |
CARD16 length B16; |
| 480 |
RROutput output B32; |
| 481 |
RRMode mode B32; |
| 482 |
} xRRDeleteOutputModeReq; |
| 483 |
|
| 484 |
#define sz_xRRDeleteOutputModeReq 12 |
| 485 |
|
| 486 |
typedef struct { |
| 487 |
CARD8 reqType; |
| 488 |
CARD8 randrReqType; |
| 489 |
CARD16 length B16; |
| 490 |
RRCrtc crtc B32; |
| 491 |
Time configTimestamp B32; |
| 492 |
} xRRGetCrtcInfoReq; |
| 493 |
|
| 494 |
#define sz_xRRGetCrtcInfoReq 12 |
| 495 |
|
| 496 |
typedef struct { |
| 497 |
BYTE type; |
| 498 |
CARD8 status; |
| 499 |
CARD16 sequenceNumber B16; |
| 500 |
CARD32 length B32; |
| 501 |
Time timestamp B32; |
| 502 |
INT16 x B16; |
| 503 |
INT16 y B16; |
| 504 |
CARD16 width B16; |
| 505 |
CARD16 height B16; |
| 506 |
RRMode mode B32; |
| 507 |
Rotation rotation B16; |
| 508 |
Rotation rotations B16; |
| 509 |
CARD16 nOutput B16; |
| 510 |
CARD16 nPossibleOutput B16; |
| 511 |
} xRRGetCrtcInfoReply; |
| 512 |
|
| 513 |
#define sz_xRRGetCrtcInfoReply 32 |
| 514 |
|
| 515 |
typedef struct { |
| 516 |
CARD8 reqType; |
| 517 |
CARD8 randrReqType; |
| 518 |
CARD16 length B16; |
| 519 |
RRCrtc crtc B32; |
| 520 |
Time timestamp B32; |
| 521 |
Time configTimestamp B32; |
| 522 |
INT16 x B16; |
| 523 |
INT16 y B16; |
| 524 |
RRMode mode B32; |
| 525 |
Rotation rotation B16; |
| 526 |
CARD16 pad B16; |
| 527 |
} xRRSetCrtcConfigReq; |
| 528 |
|
| 529 |
#define sz_xRRSetCrtcConfigReq 28 |
| 530 |
|
| 531 |
typedef struct { |
| 532 |
BYTE type; |
| 533 |
CARD8 status; |
| 534 |
CARD16 sequenceNumber B16; |
| 535 |
CARD32 length B32; |
| 536 |
Time newTimestamp B32; |
| 537 |
CARD32 pad1 B32; |
| 538 |
CARD32 pad2 B16; |
| 539 |
CARD32 pad3 B32; |
| 540 |
CARD32 pad4 B32; |
| 541 |
CARD32 pad5 B32; |
| 542 |
} xRRSetCrtcConfigReply; |
| 543 |
|
| 544 |
#define sz_xRRSetCrtcConfigReply 32 |
| 545 |
|
| 546 |
typedef struct { |
| 547 |
CARD8 reqType; |
| 548 |
CARD8 randrReqType; |
| 549 |
CARD16 length B16; |
| 550 |
RRCrtc crtc B32; |
| 551 |
} xRRGetCrtcGammaSizeReq; |
| 552 |
|
| 553 |
#define sz_xRRGetCrtcGammaSizeReq 8 |
| 554 |
|
| 555 |
typedef struct { |
| 556 |
BYTE type; |
| 557 |
CARD8 status; |
| 558 |
CARD16 sequenceNumber B16; |
| 559 |
CARD32 length B32; |
| 560 |
CARD16 size B16; |
| 561 |
CARD16 pad1 B16; |
| 562 |
CARD32 pad2 B32; |
| 563 |
CARD32 pad3 B32; |
| 564 |
CARD32 pad4 B32; |
| 565 |
CARD32 pad5 B32; |
| 566 |
CARD32 pad6 B32; |
| 567 |
} xRRGetCrtcGammaSizeReply; |
| 568 |
|
| 569 |
#define sz_xRRGetCrtcGammaSizeReply 32 |
| 570 |
|
| 571 |
typedef struct { |
| 572 |
CARD8 reqType; |
| 573 |
CARD8 randrReqType; |
| 574 |
CARD16 length B16; |
| 575 |
RRCrtc crtc B32; |
| 576 |
} xRRGetCrtcGammaReq; |
| 577 |
|
| 578 |
#define sz_xRRGetCrtcGammaReq 8 |
| 579 |
|
| 580 |
typedef struct { |
| 581 |
BYTE type; |
| 582 |
CARD8 status; |
| 583 |
CARD16 sequenceNumber B16; |
| 584 |
CARD32 length B32; |
| 585 |
CARD16 size B16; |
| 586 |
CARD16 pad1 B16; |
| 587 |
CARD32 pad2 B32; |
| 588 |
CARD32 pad3 B32; |
| 589 |
CARD32 pad4 B32; |
| 590 |
CARD32 pad5 B32; |
| 591 |
CARD32 pad6 B32; |
| 592 |
} xRRGetCrtcGammaReply; |
| 593 |
|
| 594 |
#define sz_xRRGetCrtcGammaReply 32 |
| 595 |
|
| 596 |
typedef struct { |
| 597 |
CARD8 reqType; |
| 598 |
CARD8 randrReqType; |
| 599 |
CARD16 length B16; |
| 600 |
RRCrtc crtc B32; |
| 601 |
CARD16 size B16; |
| 602 |
CARD16 pad1 B16; |
| 603 |
} xRRSetCrtcGammaReq; |
| 604 |
|
| 605 |
#define sz_xRRSetCrtcGammaReq 12 |
| 606 |
|
| 607 |
/* |
| 608 |
* Additions for V1.3 |
| 609 |
*/ |
| 610 |
|
| 611 |
typedef xRRGetScreenResourcesReq xRRGetScreenResourcesCurrentReq; |
| 612 |
|
| 613 |
#define sz_xRRGetScreenResourcesCurrentReq sz_xRRGetScreenResourcesReq |
| 614 |
|
| 615 |
typedef xRRGetScreenResourcesReply xRRGetScreenResourcesCurrentReply; |
| 616 |
|
| 617 |
#define sz_xRRGetScreenResourcesCurrentReply sz_xRRGetScreenResourcesReply |
| 618 |
|
| 619 |
typedef struct { |
| 620 |
CARD8 reqType; |
| 621 |
CARD8 randrReqType; |
| 622 |
CARD16 length B16; |
| 623 |
RRCrtc crtc B32; |
| 624 |
xRenderTransform transform; |
| 625 |
CARD16 nbytesFilter; /* number of bytes in filter name */ |
| 626 |
CARD16 pad B16; |
| 627 |
} xRRSetCrtcTransformReq; |
| 628 |
|
| 629 |
#define sz_xRRSetCrtcTransformReq 48 |
| 630 |
|
| 631 |
typedef struct { |
| 632 |
CARD8 reqType; |
| 633 |
CARD8 randrReqType; |
| 634 |
CARD16 length B16; |
| 635 |
RRCrtc crtc B32; |
| 636 |
} xRRGetCrtcTransformReq; |
| 637 |
|
| 638 |
#define sz_xRRGetCrtcTransformReq 8 |
| 639 |
|
| 640 |
typedef struct { |
| 641 |
BYTE type; |
| 642 |
CARD8 status; |
| 643 |
CARD16 sequenceNumber B16; |
| 644 |
CARD32 length B32; |
| 645 |
xRenderTransform pendingTransform; |
| 646 |
BYTE hasTransforms; |
| 647 |
CARD8 pad0; |
| 648 |
CARD16 pad1 B16; |
| 649 |
xRenderTransform currentTransform; |
| 650 |
CARD32 pad2 B32; |
| 651 |
CARD16 pendingNbytesFilter B16; /* number of bytes in filter name */ |
| 652 |
CARD16 pendingNparamsFilter B16; /* number of filter params */ |
| 653 |
CARD16 currentNbytesFilter B16; /* number of bytes in filter name */ |
| 654 |
CARD16 currentNparamsFilter B16; /* number of filter params */ |
| 655 |
} xRRGetCrtcTransformReply; |
| 656 |
|
| 657 |
#define sz_xRRGetCrtcTransformReply 96 |
| 658 |
|
| 659 |
typedef struct { |
| 660 |
CARD8 reqType; |
| 661 |
CARD8 randrReqType; |
| 662 |
CARD16 length B16; |
| 663 |
Window window B32; |
| 664 |
RROutput output B32; |
| 665 |
} xRRSetOutputPrimaryReq; |
| 666 |
|
| 667 |
#define sz_xRRSetOutputPrimaryReq 12 |
| 668 |
|
| 669 |
typedef struct { |
| 670 |
CARD8 reqType; |
| 671 |
CARD8 randrReqType; |
| 672 |
CARD16 length B16; |
| 673 |
Window window B32; |
| 674 |
} xRRGetOutputPrimaryReq; |
| 675 |
|
| 676 |
#define sz_xRRGetOutputPrimaryReq 8 |
| 677 |
|
| 678 |
typedef struct { |
| 679 |
BYTE type; |
| 680 |
CARD8 pad; |
| 681 |
CARD16 sequenceNumber B16; |
| 682 |
CARD32 length B32; |
| 683 |
RROutput output B32; |
| 684 |
CARD32 pad1 B32; |
| 685 |
CARD32 pad2 B32; |
| 686 |
CARD32 pad3 B32; |
| 687 |
CARD32 pad4 B32; |
| 688 |
CARD32 pad5 B32; |
| 689 |
} xRRGetOutputPrimaryReply; |
| 690 |
|
| 691 |
#define sz_xRRGetOutputPrimaryReply 32 |
| 692 |
|
| 693 |
/* |
| 694 |
* Additions for V1.4 |
| 695 |
*/ |
| 696 |
|
| 697 |
typedef struct { |
| 698 |
CARD8 reqType; |
| 699 |
CARD8 randrReqType; |
| 700 |
CARD16 length B16; |
| 701 |
Window window B32; |
| 702 |
} xRRGetProvidersReq; |
| 703 |
|
| 704 |
#define sz_xRRGetProvidersReq 8 |
| 705 |
|
| 706 |
typedef struct { |
| 707 |
BYTE type; |
| 708 |
CARD8 pad; |
| 709 |
CARD16 sequenceNumber B16; |
| 710 |
CARD32 length B32; |
| 711 |
Time timestamp B32; |
| 712 |
CARD16 nProviders; |
| 713 |
CARD16 pad1 B16; |
| 714 |
CARD32 pad2 B32; |
| 715 |
CARD32 pad3 B32; |
| 716 |
CARD32 pad4 B32; |
| 717 |
CARD32 pad5 B32; |
| 718 |
} xRRGetProvidersReply; |
| 719 |
|
| 720 |
#define sz_xRRGetProvidersReply 32 |
| 721 |
|
| 722 |
typedef struct { |
| 723 |
CARD8 reqType; |
| 724 |
CARD8 randrReqType; |
| 725 |
CARD16 length B16; |
| 726 |
RRProvider provider B32; |
| 727 |
Time configTimestamp B32; |
| 728 |
} xRRGetProviderInfoReq; |
| 729 |
|
| 730 |
#define sz_xRRGetProviderInfoReq 12 |
| 731 |
|
| 732 |
typedef struct { |
| 733 |
BYTE type; |
| 734 |
CARD8 status; |
| 735 |
CARD16 sequenceNumber B16; |
| 736 |
CARD32 length B32; |
| 737 |
Time timestamp B32; |
| 738 |
CARD32 capabilities B32; |
| 739 |
CARD16 nCrtcs B16; |
| 740 |
CARD16 nOutputs B16; |
| 741 |
CARD16 nAssociatedProviders B16; |
| 742 |
CARD16 nameLength B16; |
| 743 |
CARD32 pad1 B32; |
| 744 |
CARD32 pad2 B32; |
| 745 |
} xRRGetProviderInfoReply; |
| 746 |
|
| 747 |
#define sz_xRRGetProviderInfoReply 32 |
| 748 |
|
| 749 |
typedef struct { |
| 750 |
CARD8 reqType; |
| 751 |
CARD8 randrReqType; |
| 752 |
CARD16 length B16; |
| 753 |
RRProvider provider B32; |
| 754 |
RRProvider source_provider B32; |
| 755 |
Time configTimestamp B32; |
| 756 |
} xRRSetProviderOutputSourceReq; |
| 757 |
|
| 758 |
#define sz_xRRSetProviderOutputSourceReq 16 |
| 759 |
|
| 760 |
typedef struct { |
| 761 |
CARD8 reqType; |
| 762 |
CARD8 randrReqType; |
| 763 |
CARD16 length B16; |
| 764 |
RRProvider provider B32; |
| 765 |
RRProvider sink_provider B32; |
| 766 |
Time configTimestamp B32; |
| 767 |
} xRRSetProviderOffloadSinkReq; |
| 768 |
|
| 769 |
#define sz_xRRSetProviderOffloadSinkReq 16 |
| 770 |
|
| 771 |
typedef struct { |
| 772 |
CARD8 reqType; |
| 773 |
CARD8 randrReqType; |
| 774 |
CARD16 length B16; |
| 775 |
RRProvider provider B32; |
| 776 |
} xRRListProviderPropertiesReq; |
| 777 |
|
| 778 |
#define sz_xRRListProviderPropertiesReq 8 |
| 779 |
|
| 780 |
typedef struct { |
| 781 |
BYTE type; |
| 782 |
CARD8 pad0; |
| 783 |
CARD16 sequenceNumber B16; |
| 784 |
CARD32 length B32; |
| 785 |
CARD16 nAtoms B16; |
| 786 |
CARD16 pad1 B16; |
| 787 |
CARD32 pad2 B32; |
| 788 |
CARD32 pad3 B32; |
| 789 |
CARD32 pad4 B32; |
| 790 |
CARD32 pad5 B32; |
| 791 |
CARD32 pad6 B32; |
| 792 |
} xRRListProviderPropertiesReply; |
| 793 |
|
| 794 |
#define sz_xRRListProviderPropertiesReply 32 |
| 795 |
|
| 796 |
typedef struct { |
| 797 |
CARD8 reqType; |
| 798 |
CARD8 randrReqType; |
| 799 |
CARD16 length B16; |
| 800 |
RRProvider provider B32; |
| 801 |
Atom property B32; |
| 802 |
} xRRQueryProviderPropertyReq; |
| 803 |
|
| 804 |
#define sz_xRRQueryProviderPropertyReq 12 |
| 805 |
|
| 806 |
typedef struct { |
| 807 |
BYTE type; |
| 808 |
BYTE pad0; |
| 809 |
CARD16 sequenceNumber B16; |
| 810 |
CARD32 length B32; |
| 811 |
BOOL pending; |
| 812 |
BOOL range; |
| 813 |
BOOL immutable; |
| 814 |
BYTE pad1; |
| 815 |
CARD32 pad2 B32; |
| 816 |
CARD32 pad3 B32; |
| 817 |
CARD32 pad4 B32; |
| 818 |
CARD32 pad5 B32; |
| 819 |
CARD32 pad6 B32; |
| 820 |
} xRRQueryProviderPropertyReply; |
| 821 |
|
| 822 |
#define sz_xRRQueryProviderPropertyReply 32 |
| 823 |
|
| 824 |
typedef struct { |
| 825 |
CARD8 reqType; |
| 826 |
CARD8 randrReqType; |
| 827 |
CARD16 length B16; |
| 828 |
RRProvider provider B32; |
| 829 |
Atom property B32; |
| 830 |
BOOL pending; |
| 831 |
BOOL range; |
| 832 |
CARD16 pad B16; |
| 833 |
} xRRConfigureProviderPropertyReq; |
| 834 |
|
| 835 |
#define sz_xRRConfigureProviderPropertyReq 16 |
| 836 |
|
| 837 |
typedef struct { |
| 838 |
CARD8 reqType; |
| 839 |
CARD8 randrReqType; |
| 840 |
CARD16 length B16; |
| 841 |
RRProvider provider B32; |
| 842 |
Atom property B32; |
| 843 |
Atom type B32; |
| 844 |
CARD8 format; |
| 845 |
CARD8 mode; |
| 846 |
CARD16 pad; |
| 847 |
CARD32 nUnits B32; |
| 848 |
} xRRChangeProviderPropertyReq; |
| 849 |
|
| 850 |
#define sz_xRRChangeProviderPropertyReq 24 |
| 851 |
|
| 852 |
typedef struct { |
| 853 |
CARD8 reqType; |
| 854 |
CARD8 randrReqType; |
| 855 |
CARD16 length B16; |
| 856 |
RRProvider provider B32; |
| 857 |
Atom property B32; |
| 858 |
} xRRDeleteProviderPropertyReq; |
| 859 |
|
| 860 |
#define sz_xRRDeleteProviderPropertyReq 12 |
| 861 |
|
| 862 |
typedef struct { |
| 863 |
CARD8 reqType; |
| 864 |
CARD8 randrReqType; |
| 865 |
CARD16 length B16; |
| 866 |
RRProvider provider B32; |
| 867 |
Atom property B32; |
| 868 |
Atom type B32; |
| 869 |
CARD32 longOffset B32; |
| 870 |
CARD32 longLength B32; |
| 871 |
#ifdef __cplusplus |
| 872 |
BOOL _delete; |
| 873 |
#else |
| 874 |
BOOL delete; |
| 875 |
#endif |
| 876 |
BOOL pending; |
| 877 |
CARD16 pad1 B16; |
| 878 |
} xRRGetProviderPropertyReq; |
| 879 |
|
| 880 |
#define sz_xRRGetProviderPropertyReq 28 |
| 881 |
|
| 882 |
typedef struct { |
| 883 |
BYTE type; |
| 884 |
CARD8 format; |
| 885 |
CARD16 sequenceNumber B16; |
| 886 |
CARD32 length B32; |
| 887 |
Atom propertyType B32; |
| 888 |
CARD32 bytesAfter B32; |
| 889 |
CARD32 nItems B32; |
| 890 |
CARD32 pad1 B32; |
| 891 |
CARD32 pad2 B32; |
| 892 |
CARD32 pad3 B32; |
| 893 |
} xRRGetProviderPropertyReply; |
| 894 |
|
| 895 |
#define sz_xRRGetProviderPropertyReply 32 |
| 896 |
|
| 897 |
/* |
| 898 |
* event |
| 899 |
*/ |
| 900 |
typedef struct { |
| 901 |
CARD8 type; /* always evBase + ScreenChangeNotify */ |
| 902 |
CARD8 rotation; /* new rotation */ |
| 903 |
CARD16 sequenceNumber B16; |
| 904 |
Time timestamp B32; /* time screen was changed */ |
| 905 |
Time configTimestamp B32; /* time config data was changed */ |
| 906 |
Window root B32; /* root window */ |
| 907 |
Window window B32; /* window requesting notification */ |
| 908 |
SizeID sizeID B16; /* new size ID */ |
| 909 |
CARD16 subpixelOrder B16; /* subpixel order */ |
| 910 |
CARD16 widthInPixels B16; /* new size */ |
| 911 |
CARD16 heightInPixels B16; |
| 912 |
CARD16 widthInMillimeters B16; |
| 913 |
CARD16 heightInMillimeters B16; |
| 914 |
} xRRScreenChangeNotifyEvent; |
| 915 |
|
| 916 |
#define sz_xRRScreenChangeNotifyEvent 32 |
| 917 |
|
| 918 |
typedef struct { |
| 919 |
CARD8 type; /* always evBase + RRNotify */ |
| 920 |
CARD8 subCode; /* RRNotify_CrtcChange */ |
| 921 |
CARD16 sequenceNumber B16; |
| 922 |
Time timestamp B32; /* time crtc was changed */ |
| 923 |
Window window B32; /* window requesting notification */ |
| 924 |
RRCrtc crtc B32; /* affected CRTC */ |
| 925 |
RRMode mode B32; /* current mode */ |
| 926 |
CARD16 rotation B16; /* rotation and reflection */ |
| 927 |
CARD16 pad1 B16; /* unused */ |
| 928 |
INT16 x B16; /* new location */ |
| 929 |
INT16 y B16; |
| 930 |
CARD16 width B16; /* new size */ |
| 931 |
CARD16 height B16; |
| 932 |
} xRRCrtcChangeNotifyEvent; |
| 933 |
|
| 934 |
#define sz_xRRCrtcChangeNotifyEvent 32 |
| 935 |
|
| 936 |
typedef struct { |
| 937 |
CARD8 type; /* always evBase + RRNotify */ |
| 938 |
CARD8 subCode; /* RRNotify_OutputChange */ |
| 939 |
CARD16 sequenceNumber B16; |
| 940 |
Time timestamp B32; /* time output was changed */ |
| 941 |
Time configTimestamp B32; /* time config was changed */ |
| 942 |
Window window B32; /* window requesting notification */ |
| 943 |
RROutput output B32; /* affected output */ |
| 944 |
RRCrtc crtc B32; /* current crtc */ |
| 945 |
RRMode mode B32; /* current mode */ |
| 946 |
CARD16 rotation B16; /* rotation and reflection */ |
| 947 |
CARD8 connection; /* connection status */ |
| 948 |
CARD8 subpixelOrder; /* subpixel order */ |
| 949 |
} xRROutputChangeNotifyEvent; |
| 950 |
|
| 951 |
#define sz_xRROutputChangeNotifyEvent 32 |
| 952 |
|
| 953 |
typedef struct { |
| 954 |
CARD8 type; /* always evBase + RRNotify */ |
| 955 |
CARD8 subCode; /* RRNotify_OutputProperty */ |
| 956 |
CARD16 sequenceNumber B16; |
| 957 |
Window window B32; /* window requesting notification */ |
| 958 |
RROutput output B32; /* affected output */ |
| 959 |
Atom atom B32; /* property name */ |
| 960 |
Time timestamp B32; /* time crtc was changed */ |
| 961 |
CARD8 state; /* NewValue or Deleted */ |
| 962 |
CARD8 pad1; |
| 963 |
CARD16 pad2 B16; |
| 964 |
CARD32 pad3 B32; |
| 965 |
CARD32 pad4 B32; |
| 966 |
} xRROutputPropertyNotifyEvent; |
| 967 |
|
| 968 |
#define sz_xRROutputPropertyNotifyEvent 32 |
| 969 |
|
| 970 |
typedef struct { |
| 971 |
CARD8 type; /* always evBase + RRNotify */ |
| 972 |
CARD8 subCode; /* RRNotify_ProviderChange */ |
| 973 |
CARD16 sequenceNumber B16; |
| 974 |
Time timestamp B32; /* time provider was changed */ |
| 975 |
Window window B32; /* window requesting notification */ |
| 976 |
RRProvider provider B32; /* affected provider */ |
| 977 |
CARD32 pad1 B32; |
| 978 |
CARD32 pad2 B32; |
| 979 |
CARD32 pad3 B32; |
| 980 |
CARD32 pad4 B32; |
| 981 |
} xRRProviderChangeNotifyEvent; |
| 982 |
|
| 983 |
#define sz_xRRProviderChangeNotifyEvent 32 |
| 984 |
|
| 985 |
typedef struct { |
| 986 |
CARD8 type; /* always evBase + RRNotify */ |
| 987 |
CARD8 subCode; /* RRNotify_ProviderProperty */ |
| 988 |
CARD16 sequenceNumber B16; |
| 989 |
Window window B32; /* window requesting notification */ |
| 990 |
RRProvider provider B32; /* affected provider */ |
| 991 |
Atom atom B32; /* property name */ |
| 992 |
Time timestamp B32; /* time provider was changed */ |
| 993 |
CARD8 state; /* NewValue or Deleted */ |
| 994 |
CARD8 pad1; |
| 995 |
CARD16 pad2 B16; |
| 996 |
CARD32 pad3 B32; |
| 997 |
CARD32 pad4 B32; |
| 998 |
} xRRProviderPropertyNotifyEvent; |
| 999 |
|
| 1000 |
#define sz_xRRProviderPropertyNotifyEvent 32 |
| 1001 |
|
| 1002 |
typedef struct { |
| 1003 |
CARD8 type; /* always evBase + RRNotify */ |
| 1004 |
CARD8 subCode; /* RRNotify_ResourceChange */ |
| 1005 |
CARD16 sequenceNumber B16; |
| 1006 |
Time timestamp B32; /* time resource was changed */ |
| 1007 |
Window window B32; /* window requesting notification */ |
| 1008 |
CARD32 pad1 B32; |
| 1009 |
CARD32 pad2 B32; |
| 1010 |
CARD32 pad3 B32; |
| 1011 |
CARD32 pad4 B32; |
| 1012 |
CARD32 pad5 B32; |
| 1013 |
} xRRResourceChangeNotifyEvent; |
| 1014 |
|
| 1015 |
#define sz_xRRResourceChangeNotifyEvent 32 |
| 1016 |
|
| 1017 |
typedef struct { |
| 1018 |
CARD8 reqType; |
| 1019 |
CARD8 randrReqType; |
| 1020 |
CARD16 length B16; |
| 1021 |
RRCrtc crtc B32; |
| 1022 |
} xRRGetPanningReq; |
| 1023 |
|
| 1024 |
#define sz_xRRGetPanningReq 8 |
| 1025 |
|
| 1026 |
typedef struct { |
| 1027 |
BYTE type; |
| 1028 |
CARD8 status; |
| 1029 |
CARD16 sequenceNumber B16; |
| 1030 |
CARD32 length B32; |
| 1031 |
Time timestamp B32; |
| 1032 |
CARD16 left B16; |
| 1033 |
CARD16 top B16; |
| 1034 |
CARD16 width B16; |
| 1035 |
CARD16 height B16; |
| 1036 |
CARD16 track_left B16; |
| 1037 |
CARD16 track_top B16; |
| 1038 |
CARD16 track_width B16; |
| 1039 |
CARD16 track_height B16; |
| 1040 |
INT16 border_left B16; |
| 1041 |
INT16 border_top B16; |
| 1042 |
INT16 border_right B16; |
| 1043 |
INT16 border_bottom B16; |
| 1044 |
} xRRGetPanningReply; |
| 1045 |
|
| 1046 |
#define sz_xRRGetPanningReply 36 |
| 1047 |
|
| 1048 |
typedef struct { |
| 1049 |
CARD8 reqType; |
| 1050 |
CARD8 randrReqType; |
| 1051 |
CARD16 length B16; |
| 1052 |
RRCrtc crtc B32; |
| 1053 |
Time timestamp B32; |
| 1054 |
CARD16 left B16; |
| 1055 |
CARD16 top B16; |
| 1056 |
CARD16 width B16; |
| 1057 |
CARD16 height B16; |
| 1058 |
CARD16 track_left B16; |
| 1059 |
CARD16 track_top B16; |
| 1060 |
CARD16 track_width B16; |
| 1061 |
CARD16 track_height B16; |
| 1062 |
INT16 border_left B16; |
| 1063 |
INT16 border_top B16; |
| 1064 |
INT16 border_right B16; |
| 1065 |
INT16 border_bottom B16; |
| 1066 |
} xRRSetPanningReq; |
| 1067 |
|
| 1068 |
#define sz_xRRSetPanningReq 36 |
| 1069 |
|
| 1070 |
typedef struct { |
| 1071 |
BYTE type; |
| 1072 |
CARD8 status; |
| 1073 |
CARD16 sequenceNumber B16; |
| 1074 |
CARD32 length B32; |
| 1075 |
Time newTimestamp B32; |
| 1076 |
CARD32 pad1 B32; |
| 1077 |
CARD32 pad2 B32; |
| 1078 |
CARD32 pad3 B32; |
| 1079 |
CARD32 pad4 B32; |
| 1080 |
CARD32 pad5 B32; |
| 1081 |
} xRRSetPanningReply; |
| 1082 |
|
| 1083 |
#define sz_xRRSetPanningReply 32 |
| 1084 |
|
| 1085 |
typedef struct { |
| 1086 |
Atom name B32; |
| 1087 |
BOOL primary; |
| 1088 |
BOOL automatic; |
| 1089 |
CARD16 noutput B16; |
| 1090 |
INT16 x B16; |
| 1091 |
INT16 y B16; |
| 1092 |
CARD16 width B16; |
| 1093 |
CARD16 height B16; |
| 1094 |
CARD32 widthInMillimeters B32; |
| 1095 |
CARD32 heightInMillimeters B32; |
| 1096 |
} xRRMonitorInfo; |
| 1097 |
|
| 1098 |
#define sz_xRRMonitorInfo 24 |
| 1099 |
|
| 1100 |
typedef struct { |
| 1101 |
CARD8 reqType; |
| 1102 |
CARD8 randrReqType; |
| 1103 |
CARD16 length B16; |
| 1104 |
Window window B32; |
| 1105 |
BOOL get_active; |
| 1106 |
CARD8 pad; |
| 1107 |
CARD16 pad2; |
| 1108 |
} xRRGetMonitorsReq; |
| 1109 |
|
| 1110 |
#define sz_xRRGetMonitorsReq 12 |
| 1111 |
|
| 1112 |
typedef struct { |
| 1113 |
BYTE type; |
| 1114 |
CARD8 status; |
| 1115 |
CARD16 sequenceNumber B16; |
| 1116 |
CARD32 length B32; |
| 1117 |
Time timestamp B32; |
| 1118 |
CARD32 nmonitors B32; |
| 1119 |
CARD32 noutputs B32; |
| 1120 |
CARD32 pad1 B32; |
| 1121 |
CARD32 pad2 B32; |
| 1122 |
CARD32 pad3 B32; |
| 1123 |
} xRRGetMonitorsReply; |
| 1124 |
|
| 1125 |
#define sz_xRRGetMonitorsReply 32 |
| 1126 |
|
| 1127 |
typedef struct { |
| 1128 |
CARD8 reqType; |
| 1129 |
CARD8 randrReqType; |
| 1130 |
CARD16 length B16; |
| 1131 |
Window window B32; |
| 1132 |
xRRMonitorInfo monitor; |
| 1133 |
} xRRSetMonitorReq; |
| 1134 |
|
| 1135 |
#define sz_xRRSetMonitorReq 32 |
| 1136 |
|
| 1137 |
typedef struct { |
| 1138 |
CARD8 reqType; |
| 1139 |
CARD8 randrReqType; |
| 1140 |
CARD16 length B16; |
| 1141 |
Window window B32; |
| 1142 |
Atom name B32; |
| 1143 |
} xRRDeleteMonitorReq; |
| 1144 |
|
| 1145 |
#define sz_xRRDeleteMonitorReq 12 |
| 1146 |
|
| 1147 |
#undef RRModeFlags |
| 1148 |
#undef RRCrtc |
| 1149 |
#undef RRMode |
| 1150 |
#undef RROutput |
| 1151 |
#undef RRMode |
| 1152 |
#undef RRCrtc |
| 1153 |
#undef RRProvider |
| 1154 |
#undef Drawable |
| 1155 |
#undef Window |
| 1156 |
#undef Font |
| 1157 |
#undef Pixmap |
| 1158 |
#undef Cursor |
| 1159 |
#undef Colormap |
| 1160 |
#undef GContext |
| 1161 |
#undef Atom |
| 1162 |
#undef Time |
| 1163 |
#undef KeyCode |
| 1164 |
#undef KeySym |
| 1165 |
#undef Rotation |
| 1166 |
#undef SizeID |
| 1167 |
#undef SubpixelOrder |
| 1168 |
#undef Atom |
| 1169 |
|
| 1170 |
#endif /* _XRANDRP_H_ */ |