2 # Fields for X11 dissector.
4 # Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
6 # Wireshark - Network traffic analyzer
7 # By Gerald Combs <gerald@wireshark.org>
8 # Copyright 1998 Gerald Combs
10 # SPDX-License-Identifier: GPL-2.0-or-later
13 above-sibling UINT32 HEX
14 acceleration-denominator INT16 DEC
15 acceleration-numerator INT16 DEC
16 access-mode UINT8 DEC VALS
19 address-length UINT16 DEC
21 allow-events-mode UINT8 DEC VALS
22 allow-exposures UINT8 DEC VALS(yes_no_default)
33 arc-mode UINT8 DEC VALS Tell us if we're drawing an arc or a pie
35 authorization-protocol-name-length UINT16 DEC
36 authorization-protocol-name STRING NONE
37 authorization-protocol-data-length UINT16 DEC
38 authorization-protocol-data STRING NONE
39 auto-repeat-mode UINT8 DEC VALS
41 bitmap-format-bit-order UINT8 HEX VALS(image_byte_order)
42 bitmap-format-scanline-pad UINT8 DEC bitmap format scanline-pad
43 bitmap-format-scanline-unit UINT8 DEC bitmap format scanline unit
44 bytes-after UINT32 DEC bytes after
45 back-blue UINT16 DEC Background blue value for a cursor
46 back-green UINT16 DEC Background green value for a cursor
47 back-red UINT16 DEC Background red value for a cursor
48 background UINT32 HEX Background color
49 background-pixel UINT32 HEX Background color for a window
50 background-pixmap UINT32 HEX VALS Background pixmap for a window
51 backing-pixel UINT32 HEX
52 backing-planes UINT32 HEX
53 backing-store UINT8 DEC VALS
54 bell-duration INT16 DEC
57 bit-gravity UINT8 DEC VALS(bit_gravity)
61 border-pixel UINT32 HEX
62 border-pixmap UINT32 HEX VALS
63 border-width UINT16 DEC
65 byte-order CHAR HEX VALS
67 childwindow UINT32 HEX
68 cap-style UINT8 DEC VALS
69 change-host-mode UINT8 DEC VALS(insert_delete)
72 clip-mask UINT32 HEX VALS(zero_is_none)
73 clip-x-origin INT16 DEC
74 clip-y-origin INT16 DEC
75 close-down-mode UINT8 DEC VALS
78 colormap-state UINT8 DEC VALS
88 do-green BOOLEAN 8 0x02
89 do-blue BOOLEAN 8 0x04
93 colors UINT16 DEC The number of color cells to allocate
95 configure-window-mask UINT16 HEX
98 width BOOLEAN 16 0x0004
99 height BOOLEAN 16 0x0008
100 border-width BOOLEAN 16 0x0010
101 sibling BOOLEAN 16 0x0020
102 stack-mode BOOLEAN 16 0x0040
104 confine-to UINT32 HEX VALS(zero_is_none)
105 contiguous BOOLEAN NONE
106 coordinate-mode UINT8 DEC VALS
108 cursor UINT32 HEX VALS(zero_is_none)
109 dash-offset UINT16 DEC
111 dashes-length UINT16 DEC
112 do-acceleration BOOLEAN NONE
113 do-threshold BOOLEAN NONE
116 do-not-propagate-mask UINT32 HEX
117 KeyPress BOOLEAN 32 0x00000001
118 KeyRelease BOOLEAN 32 0x00000002
119 ButtonPress BOOLEAN 32 0x00000004
120 ButtonRelease BOOLEAN 32 0x00000008
121 PointerMotion BOOLEAN 32 0x00000040
122 Button1Motion BOOLEAN 32 0x00000100
123 Button2Motion BOOLEAN 32 0x00000200
124 Button3Motion BOOLEAN 32 0x00000400
125 Button4Motion BOOLEAN 32 0x00000800
126 Button5Motion BOOLEAN 32 0x00001000
127 ButtonMotion BOOLEAN 32 0x00002000
128 erroneous-bits BOOLEAN 32 0xffffc0b0
130 event-sequencenumber UINT16 DEC
132 error-badvalue UINT32 DEC error badvalue
133 error-badresourceid UINT32 HEX error_badresourceid
134 error_sequencenumber UINT16 DEC error sequencenumber
135 errorcode UINT8 DEC VALS
136 event-x UINT16 DEC event x
137 event-y UINT16 DEC event y
138 eventbutton UINT8 DEC
139 eventcode UINT8 DEC VALS
140 eventwindow UINT32 HEX
143 first-event UINT8 DEC
144 first-error UINT8 DEC
148 gc-value-mask UINT32 HEX
149 function BOOLEAN 32 0x00000001
150 plane-mask BOOLEAN 32 0x00000002
151 foreground BOOLEAN 32 0x00000004
152 background BOOLEAN 32 0x00000008
153 line-width BOOLEAN 32 0x00000010
154 line-style BOOLEAN 32 0x00000020
155 cap-style BOOLEAN 32 0x00000040
156 join-style BOOLEAN 32 0x00000080
157 fill-style BOOLEAN 32 0x00000100
158 fill-rule BOOLEAN 32 0x00000200
159 tile BOOLEAN 32 0x00000400
160 stipple BOOLEAN 32 0x00000800
161 tile-stipple-x-origin BOOLEAN 32 0x00001000
162 tile-stipple-y-origin BOOLEAN 32 0x00002000
163 font BOOLEAN 32 0x00004000
164 subwindow-mode BOOLEAN 32 0x00008000
165 graphics-exposures BOOLEAN 32 0x00010000
166 clip-x-origin BOOLEAN 32 0x00020000
167 clip-y-origin BOOLEAN 32 0x00040000
168 clip-mask BOOLEAN 32 0x00080000
169 dash-offset BOOLEAN 32 0x00100000
170 gc-dashes BOOLEAN 32 0x00200000
171 arc-mode BOOLEAN 32 0x00400000
180 data-length UINT32 DEC
181 delete BOOLEAN NONE Delete this property after reading
184 depth-detail NONE NONE
186 visualtypes-numbers UINT16 DEC
188 destination UINT8 DEC VALS
189 direction UINT8 DEC VALS
191 dst-drawable UINT32 HEX
193 dst-window UINT32 HEX
196 event-detail UINT8 DEC VALS
198 event-mask UINT32 HEX
199 KeyPress BOOLEAN 32 0x00000001
200 KeyRelease BOOLEAN 32 0x00000002
201 ButtonPress BOOLEAN 32 0x00000004
202 ButtonRelease BOOLEAN 32 0x00000008
203 EnterWindow BOOLEAN 32 0x00000010
204 LeaveWindow BOOLEAN 32 0x00000020
205 PointerMotion BOOLEAN 32 0x00000040
206 PointerMotionHint BOOLEAN 32 0x00000080
207 Button1Motion BOOLEAN 32 0x00000100
208 Button2Motion BOOLEAN 32 0x00000200
209 Button3Motion BOOLEAN 32 0x00000400
210 Button4Motion BOOLEAN 32 0x00000800
211 Button5Motion BOOLEAN 32 0x00001000
212 ButtonMotion BOOLEAN 32 0x00002000
213 KeymapState BOOLEAN 32 0x00004000
214 Exposure BOOLEAN 32 0x00008000
215 VisibilityChange BOOLEAN 32 0x00010000
216 StructureNotify BOOLEAN 32 0x00020000
217 ResizeRedirect BOOLEAN 32 0x00040000
218 SubstructureNotify BOOLEAN 32 0x00080000
219 SubstructureRedirect BOOLEAN 32 0x00100000
220 FocusChange BOOLEAN 32 0x00200000
221 PropertyChange BOOLEAN 32 0x00400000
222 ColormapChange BOOLEAN 32 0x00800000
223 OwnerGrabButton BOOLEAN 32 0x01000000
224 erroneous-bits BOOLEAN 32 0xfe000000
226 eventlength UINT32 DEC
227 exact-blue UINT16 DEC
228 exact-green UINT16 DEC
230 exposures BOOLEAN NONE
231 family UINT8 DEC VALS
232 fid UINT32 HEX Font id
233 fill-rule UINT8 DEC VALS
234 fill-style UINT8 DEC VALS
235 first-keycode UINT8 DEC
237 focus-detail UINT8 DEC VALS
238 focus-mode UINT8 DEC VALS
241 fore-green UINT16 DEC
243 foreground UINT32 HEX
245 from-configure BOOLEAN NONE
246 function UINT8 DEC VALS
248 get-property-type UINT32 HEX VALS(zero_is_any_property_type)
249 grab-mode UINT8 DEC VALS
250 grab-status UINT8 DEC VALS
251 grab-window UINT32 HEX
252 graphics-exposures BOOLEAN NONE
254 image-byte-order CHAR HEX VALS
255 initial-connection NONE NONE undecoded
256 image-format UINT8 DEC VALS
257 image-pixmap-format UINT8 DEC VALS
260 join-style UINT8 DEC VALS
262 key-click-percent INT8 DEC
263 keyboard-key UINT8 DEC
264 keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode)
265 keybut-mask-erroneous-bits BOOLEAN 16 0xe000 keybut mask erroneous bits
268 keyboard-value-mask UINT32 HEX
269 key-click-percent BOOLEAN 32 0x0001
270 bell-percent BOOLEAN 32 0x0002
271 bell-pitch BOOLEAN 32 0x0004
272 bell-duration BOOLEAN 32 0x0008
273 led BOOLEAN 32 0x0010
274 led-mode BOOLEAN 32 0x0020
275 keyboard-key BOOLEAN 32 0x0040
276 auto-repeat-mode BOOLEAN 32 0x0080
278 keycode-count UINT8 DEC
283 keycodes-per-modifier UINT8 DEC
291 keysyms-per-keycode UINT8 DEC
292 length-of-reason UINT8 DEC length of reason
293 length-of-vendor UINT16 DEC length of vendor
295 led-mode UINT8 DEC VALS(on_off)
297 line-style UINT8 DEC VALS
298 line-width UINT16 DEC
299 long-length UINT32 DEC The maximum length of the property in bytes
300 long-offset UINT32 DEC The starting position in the property bytes array
303 mapping-request UINT8 DEC VALS(mapping_request)
304 mask UINT32 HEX VALS(zero_is_none)
306 mask-font UINT32 HEX VALS(zero_is_none)
310 major-opcode UINT16 DEC major opcode
311 max-keycode UINT8 DEC max keycode
312 maximum-request-length UINT16 DEC maximum request length
313 min-keycode UINT8 DEC min keycode
314 minor-opcode UINT16 DEC minor opcode
316 modifiers-mask UINT16 HEX
317 Shift BOOLEAN 16 0x0001
318 Lock BOOLEAN 16 0x0002
319 Control BOOLEAN 16 0x0004
320 Mod1 BOOLEAN 16 0x0008
321 Mod2 BOOLEAN 16 0x0010
322 Mod3 BOOLEAN 16 0x0020
323 Mod4 BOOLEAN 16 0x0040
324 Mod5 BOOLEAN 16 0x0080
325 Button1 BOOLEAN 16 0x0100
326 Button2 BOOLEAN 16 0x0200
327 Button3 BOOLEAN 16 0x0400
328 Button4 BOOLEAN 16 0x0800
329 Button5 BOOLEAN 16 0x1000
330 AnyModifier UINT16 HEX 0x8000
331 erroneous-bits BOOLEAN 16 0xff00
333 motion-buffer-size UINT16 DEC motion buffer size
336 number-of-formats-in-pixmap-formats UINT8 DEC number of formats in pixmap formats
337 number-of-screens-in-roots UINT8 DEC number of screens in roots
340 name-length UINT16 DEC
341 odd-length BOOLEAN NONE
342 only-if-exists BOOLEAN NONE
343 opcode UINT8 DEC VALS
344 ordering UINT8 DEC VALS
345 override-redirect BOOLEAN NONE Window manager doesn't manage this window when true
346 owner UINT32 HEX VALS(zero_is_none)
347 owner-events BOOLEAN NONE
354 pattern-length UINT16 DEC
359 pixels_item UINT32 HEX
361 pixmap-format NONE NONE Pixmap Formats
363 bits-per-pixel UINT8 DEC
364 scanline-pad UINT8 DEC
367 plane-mask UINT32 HEX VALS
374 pointer-event-mask UINT16 HEX
375 ButtonPress BOOLEAN 16 0x0004
376 ButtonRelease BOOLEAN 16 0x0008
377 EnterWindow BOOLEAN 16 0x0010
378 LeaveWindow BOOLEAN 16 0x0020
379 PointerMotion BOOLEAN 16 0x0040
380 PointerMotionHint BOOLEAN 16 0x0080
381 Button1Motion BOOLEAN 16 0x0100
382 Button2Motion BOOLEAN 16 0x0200
383 Button3Motion BOOLEAN 16 0x0400
384 Button4Motion BOOLEAN 16 0x0800
385 Button5Motion BOOLEAN 16 0x1000
386 ButtonMotion BOOLEAN 16 0x2000
387 KeymapState BOOLEAN 16 0x4000
388 erroneous-bits BOOLEAN 16 0x8003
390 pointer-mode UINT8 DEC VALS(pointer_keyboard_mode)
391 prefer-blanking UINT8 DEC VALS(yes_no_default)
393 propagate BOOLEAN NONE
399 property-number UINT16 DEC
400 property-state UINT8 DEC VALS
401 protocol-major-version UINT16 DEC
402 protocol-minor-version UINT16 DEC
404 rectangle-height UINT16 DEC
407 rectangle-width UINT16 DEC
408 rectangle-x INT16 DEC
409 rectangle-y INT16 DEC
412 request UINT8 DEC VALS(opcode)
414 request-length UINT16 DEC Request length
415 resource UINT32 HEX VALS(all_temporary)
416 revert-to UINT8 DEC VALS
417 release-number UINT32 DEC release number
419 reply-sequencenumber UINT16 DEC VALS(opcode)
420 replylength UINT32 DEC
421 replyopcode UINT8 DEC VALS(opcode)
422 resource-id-base UINT32 HEX resource id base
423 resource-id-mask UINT32 HEX resource id mask
424 root-x UINT16 DEC root x
425 root-y UINT16 DEC root y
426 rootwindow UINT32 HEX
428 same-screen BOOLEAN NONE same screen
429 same-screen-focus-mask UINT8 HEX
431 same-screen BOOLEAN 8 0x02
433 save-set-mode UINT8 DEC VALS(insert_delete)
434 save-under BOOLEAN NONE
437 default_colormap UINT32 HEX
438 white_pixel UINT32 HEX
439 black_pixel UINT32 HEX
440 current_input_masks UINT32 HEX
441 width_in_pixels UINT16 DEC
442 height_in_pixels UINT16 DEC
443 width_in_millimeters UINT16 DEC
444 height_in_millimeters UINT16 DEC
445 min_installed_maps UINT16 DEC
446 max_installed_maps UINT16 DEC
447 root_visual UINT32 HEX
448 backing_stores UINT8 HEX
449 save_unders BOOLEAN NONE
451 allowed_depths_len UINT8 DEC
453 screen-saver-mode UINT8 DEC VALS
463 source-pixmap UINT32 HEX
464 source-font UINT32 HEX
465 source-char UINT16 DEC
467 src-drawable UINT32 HEX
469 src-height UINT16 DEC
471 src-window UINT32 HEX
475 stack-mode UINT8 DEC VALS
478 str-number-in-path UINT16 DEC
484 string-length UINT32 DEC
485 subwindow-mode UINT8 DEC VALS
498 tile-stipple-x-origin INT16 DEC
499 tile-stipple-y-origin INT16 DEC
503 undecoded NONE NONE Yet undecoded by dissector
505 valuelength UINT32 DEC
507 visibility-state UINT8 DEC VALS
509 visual-blue UINT16 DEC
510 visual-green UINT16 DEC
511 visual-red UINT16 DEC
516 bits-per-rgb-value UINT8 DEC
517 colormap-entries UINT16 DEC
519 green-mask UINT32 HEX
522 warp-pointer-dst-window UINT32 HEX VALS(zero_is_none)
523 warp-pointer-src-window UINT32 HEX VALS(zero_is_none)
524 wid UINT32 HEX Window id
526 win-gravity UINT8 DEC VALS(win_gravity)
530 window-class UINT16 DEC VALS Window class
532 window-value-mask UINT32 HEX
533 background-pixmap BOOLEAN 32 0x00000001
534 background-pixel BOOLEAN 32 0x00000002
535 border-pixmap BOOLEAN 32 0x00000004
536 border-pixel BOOLEAN 32 0x00000008
537 bit-gravity BOOLEAN 32 0x00000010
538 win-gravity BOOLEAN 32 0x00000020
539 backing-store BOOLEAN 32 0x00000040
540 backing-planes BOOLEAN 32 0x00000080
541 backing-pixel BOOLEAN 32 0x00000100
542 override-redirect BOOLEAN 32 0x00000200
543 save-under BOOLEAN 32 0x00000400
544 event-mask BOOLEAN 32 0x00000800
545 do-not-propagate-mask BOOLEAN 32 0x00001000
546 colormap BOOLEAN 32 0x00002000
547 cursor BOOLEAN 32 0x00004000