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 # This program is free software; you can redistribute it and/or
11 # modify it under the terms of the GNU General Public License
12 # as published by the Free Software Foundation; either version 2
13 # of the License, or (at your option) any later version.
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 above-sibling UINT32 HEX
26 acceleration-denominator INT16 DEC
27 acceleration-numerator INT16 DEC
28 access-mode UINT8 DEC VALS
31 address-length UINT16 DEC
33 allow-events-mode UINT8 DEC VALS
34 allow-exposures UINT8 DEC VALS(yes_no_default)
45 arc-mode UINT8 DEC VALS Tell us if we're drawing an arc or a pie
47 authorization-protocol-name-length UINT16 DEC
48 authorization-protocol-name STRING NONE
49 authorization-protocol-data-length UINT16 DEC
50 authorization-protocol-data STRING NONE
51 auto-repeat-mode UINT8 DEC VALS
53 bitmap-format-bit-order UINT8 HEX VALS(image_byte_order)
54 bitmap-format-scanline-pad UINT8 DEC bitmap format scanline-pad
55 bitmap-format-scanline-unit UINT8 DEC bitmap format scanline unit
56 bytes-after UINT32 DEC bytes after
57 back-blue UINT16 DEC Background blue value for a cursor
58 back-green UINT16 DEC Background green value for a cursor
59 back-red UINT16 DEC Background red value for a cursor
60 background UINT32 HEX Background color
61 background-pixel UINT32 HEX Background color for a window
62 background-pixmap UINT32 HEX VALS Background pixmap for a window
63 backing-pixel UINT32 HEX
64 backing-planes UINT32 HEX
65 backing-store UINT8 DEC VALS
66 bell-duration INT16 DEC
69 bit-gravity UINT8 DEC VALS(gravity)
73 border-pixel UINT32 HEX
74 border-pixmap UINT32 HEX VALS
75 border-width UINT16 DEC
77 byte-order CHAR HEX VALS
79 childwindow UINT32 HEX
80 cap-style UINT8 DEC VALS
81 change-host-mode UINT8 DEC VALS(insert_delete)
84 clip-mask UINT32 HEX VALS(zero_is_none)
85 clip-x-origin INT16 DEC
86 clip-y-origin INT16 DEC
87 close-down-mode UINT8 DEC VALS
90 colormap-state UINT8 DEC VALS
100 do-green BOOLEAN 8 0x02
101 do-blue BOOLEAN 8 0x04
102 unused BOOLEAN 8 0xf8
105 colors UINT16 DEC The number of color cells to allocate
107 configure-window-mask UINT16 HEX
110 width BOOLEAN 16 0x0004
111 height BOOLEAN 16 0x0008
112 border-width BOOLEAN 16 0x0010
113 sibling BOOLEAN 16 0x0020
114 stack-mode BOOLEAN 16 0x0040
116 confine-to UINT32 HEX VALS(zero_is_none)
117 contiguous BOOLEAN NONE
118 coordinate-mode UINT8 DEC VALS
120 cursor UINT32 HEX VALS(zero_is_none)
121 dash-offset UINT16 DEC
123 dashes-length UINT16 DEC
124 do-acceleration BOOLEAN NONE
125 do-threshold BOOLEAN NONE
128 do-not-propagate-mask UINT32 HEX
129 KeyPress BOOLEAN 32 0x00000001
130 KeyRelease BOOLEAN 32 0x00000002
131 ButtonPress BOOLEAN 32 0x00000004
132 ButtonRelease BOOLEAN 32 0x00000008
133 PointerMotion BOOLEAN 32 0x00000040
134 Button1Motion BOOLEAN 32 0x00000100
135 Button2Motion BOOLEAN 32 0x00000200
136 Button3Motion BOOLEAN 32 0x00000400
137 Button4Motion BOOLEAN 32 0x00000800
138 Button5Motion BOOLEAN 32 0x00001000
139 ButtonMotion BOOLEAN 32 0x00002000
140 erroneous-bits BOOLEAN 32 0xffffc0b0
142 event-sequencenumber UINT16 DEC
144 error-badvalue UINT32 DEC error badvalue
145 error-badresourceid UINT32 HEX error_badresourceid
146 error_sequencenumber UINT16 DEC error sequencenumber
147 errorcode UINT8 DEC VALS
148 event-x UINT16 DEC event x
149 event-y UINT16 DEC event y
150 eventbutton UINT8 DEC
151 eventcode UINT8 DEC VALS
152 eventwindow UINT32 HEX
155 first-event UINT8 DEC
156 first-error UINT8 DEC
160 gc-value-mask UINT32 HEX
161 function BOOLEAN 32 0x00000001
162 plane-mask BOOLEAN 32 0x00000002
163 foreground BOOLEAN 32 0x00000004
164 background BOOLEAN 32 0x00000008
165 line-width BOOLEAN 32 0x00000010
166 line-style BOOLEAN 32 0x00000020
167 cap-style BOOLEAN 32 0x00000040
168 join-style BOOLEAN 32 0x00000080
169 fill-style BOOLEAN 32 0x00000100
170 fill-rule BOOLEAN 32 0x00000200
171 tile BOOLEAN 32 0x00000400
172 stipple BOOLEAN 32 0x00000800
173 tile-stipple-x-origin BOOLEAN 32 0x00001000
174 tile-stipple-y-origin BOOLEAN 32 0x00002000
175 font BOOLEAN 32 0x00004000
176 subwindow-mode BOOLEAN 32 0x00008000
177 graphics-exposures BOOLEAN 32 0x00010000
178 clip-x-origin BOOLEAN 32 0x00020000
179 clip-y-origin BOOLEAN 32 0x00040000
180 clip-mask BOOLEAN 32 0x00080000
181 dash-offset BOOLEAN 32 0x00100000
182 gc-dashes BOOLEAN 32 0x00200000
183 arc-mode BOOLEAN 32 0x00400000
192 data-length UINT32 DEC
193 delete BOOLEAN NONE Delete this property after reading
196 depth-detail NONE NONE
198 visualtypes-numbers UINT16 DEC
200 destination UINT8 DEC VALS
201 direction UINT8 DEC VALS
203 dst-drawable UINT32 HEX
205 dst-window UINT32 HEX
208 event-detail UINT8 DEC VALS
210 event-mask UINT32 HEX
211 KeyPress BOOLEAN 32 0x00000001
212 KeyRelease BOOLEAN 32 0x00000002
213 ButtonPress BOOLEAN 32 0x00000004
214 ButtonRelease BOOLEAN 32 0x00000008
215 EnterWindow BOOLEAN 32 0x00000010
216 LeaveWindow BOOLEAN 32 0x00000020
217 PointerMotion BOOLEAN 32 0x00000040
218 PointerMotionHint BOOLEAN 32 0x00000080
219 Button1Motion BOOLEAN 32 0x00000100
220 Button2Motion BOOLEAN 32 0x00000200
221 Button3Motion BOOLEAN 32 0x00000400
222 Button4Motion BOOLEAN 32 0x00000800
223 Button5Motion BOOLEAN 32 0x00001000
224 ButtonMotion BOOLEAN 32 0x00002000
225 KeymapState BOOLEAN 32 0x00004000
226 Exposure BOOLEAN 32 0x00008000
227 VisibilityChange BOOLEAN 32 0x00010000
228 StructureNotify BOOLEAN 32 0x00020000
229 ResizeRedirect BOOLEAN 32 0x00040000
230 SubstructureNotify BOOLEAN 32 0x00080000
231 SubstructureRedirect BOOLEAN 32 0x00100000
232 FocusChange BOOLEAN 32 0x00200000
233 PropertyChange BOOLEAN 32 0x00400000
234 ColormapChange BOOLEAN 32 0x00800000
235 OwnerGrabButton BOOLEAN 32 0x01000000
236 erroneous-bits BOOLEAN 32 0xfe000000
238 eventlength UINT32 DEC
239 exact-blue UINT16 DEC
240 exact-green UINT16 DEC
242 exposures BOOLEAN NONE
243 family UINT8 DEC VALS
244 fid UINT32 HEX Font id
245 fill-rule UINT8 DEC VALS
246 fill-style UINT8 DEC VALS
247 first-keycode UINT8 DEC
249 focus-detail UINT8 DEC VALS
250 focus-mode UINT8 DEC VALS
253 fore-green UINT16 DEC
255 foreground UINT32 HEX
257 from-configure BOOLEAN NONE
258 function UINT8 DEC VALS
260 get-property-type UINT32 HEX VALS(zero_is_any_property_type)
261 grab-mode UINT8 DEC VALS
262 grab-status UINT8 DEC VALS
263 grab-window UINT32 HEX
264 graphics-exposures BOOLEAN NONE
266 image-byte-order CHAR HEX VALS
267 initial-connection NONE NONE undecoded
268 image-format UINT8 DEC VALS
269 image-pixmap-format UINT8 DEC VALS
272 join-style UINT8 DEC VALS
274 key-click-percent INT8 DEC
275 keyboard-key UINT8 DEC
276 keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode)
277 keybut-mask-erroneous-bits BOOLEAN 16 0xe000 keybut mask erroneous bits
280 keyboard-value-mask UINT32 HEX
281 key-click-percent BOOLEAN 32 0x0001
282 bell-percent BOOLEAN 32 0x0002
283 bell-pitch BOOLEAN 32 0x0004
284 bell-duration BOOLEAN 32 0x0008
285 led BOOLEAN 32 0x0010
286 led-mode BOOLEAN 32 0x0020
287 keyboard-key BOOLEAN 32 0x0040
288 auto-repeat-mode BOOLEAN 32 0x0080
290 keycode-count UINT8 DEC
295 keycodes-per-modifier UINT8 DEC
303 keysyms-per-keycode UINT8 DEC
304 length-of-reason UINT8 DEC length of reason
305 length-of-vendor UINT16 DEC length of vendor
307 led-mode UINT8 DEC VALS(on_off)
309 line-style UINT8 DEC VALS
310 line-width UINT16 DEC
311 long-length UINT32 DEC The maximum length of the property in bytes
312 long-offset UINT32 DEC The starting position in the property bytes array
315 mapping-request UINT8 DEC VALS(mapping_request)
316 mask UINT32 HEX VALS(zero_is_none)
318 mask-font UINT32 HEX VALS(zero_is_none)
322 major-opcode UINT16 DEC major opcode
323 max-keycode UINT8 DEC max keycode
324 maximum-request-length UINT16 DEC maximum request length
325 min-keycode UINT8 DEC min keycode
326 minor-opcode UINT16 DEC minor opcode
328 modifiers-mask UINT16 HEX
329 Shift BOOLEAN 16 0x0001
330 Lock BOOLEAN 16 0x0002
331 Control BOOLEAN 16 0x0004
332 Mod1 BOOLEAN 16 0x0008
333 Mod2 BOOLEAN 16 0x0010
334 Mod3 BOOLEAN 16 0x0020
335 Mod4 BOOLEAN 16 0x0040
336 Mod5 BOOLEAN 16 0x0080
337 Button1 BOOLEAN 16 0x0100
338 Button2 BOOLEAN 16 0x0200
339 Button3 BOOLEAN 16 0x0400
340 Button4 BOOLEAN 16 0x0800
341 Button5 BOOLEAN 16 0x1000
342 AnyModifier UINT16 HEX 0x8000
343 erroneous-bits BOOLEAN 16 0xff00
345 motion-buffer-size UINT16 DEC motion buffer size
348 number-of-formats-in-pixmap-formats UINT8 DEC number of formats in pixmap formats
349 number-of-screens-in-roots UINT8 DEC number of screens in roots
352 name-length UINT16 DEC
353 odd-length BOOLEAN NONE
354 only-if-exists BOOLEAN NONE
355 opcode UINT8 DEC VALS
356 ordering UINT8 DEC VALS
357 override-redirect BOOLEAN NONE Window manager doesn't manage this window when true
358 owner UINT32 HEX VALS(zero_is_none)
359 owner-events BOOLEAN NONE
366 pattern-length UINT16 DEC
371 pixels_item UINT32 HEX
373 pixmap-format NONE NONE Pixmap Formats
375 bits-per-pixel UINT8 DEC
376 scanline-pad UINT8 DEC
379 plane-mask UINT32 HEX VALS
386 pointer-event-mask UINT16 HEX
387 ButtonPress BOOLEAN 16 0x0004
388 ButtonRelease BOOLEAN 16 0x0008
389 EnterWindow BOOLEAN 16 0x0010
390 LeaveWindow BOOLEAN 16 0x0020
391 PointerMotion BOOLEAN 16 0x0040
392 PointerMotionHint BOOLEAN 16 0x0080
393 Button1Motion BOOLEAN 16 0x0100
394 Button2Motion BOOLEAN 16 0x0200
395 Button3Motion BOOLEAN 16 0x0400
396 Button4Motion BOOLEAN 16 0x0800
397 Button5Motion BOOLEAN 16 0x1000
398 ButtonMotion BOOLEAN 16 0x2000
399 KeymapState BOOLEAN 16 0x4000
400 erroneous-bits BOOLEAN 16 0x8003
402 pointer-mode UINT8 DEC VALS(pointer_keyboard_mode)
403 prefer-blanking UINT8 DEC VALS(yes_no_default)
405 propagate BOOLEAN NONE
411 property-number UINT16 DEC
412 property-state UINT8 DEC VALS
413 protocol-major-version UINT16 DEC
414 protocol-minor-version UINT16 DEC
416 rectangle-height UINT16 DEC
419 rectangle-width UINT16 DEC
420 rectangle-x INT16 DEC
421 rectangle-y INT16 DEC
424 request UINT8 DEC VALS(opcode)
426 request-length UINT16 DEC Request length
427 resource UINT32 HEX VALS(all_temporary)
428 revert-to UINT8 DEC VALS
429 release-number UINT32 DEC release number
431 reply-sequencenumber UINT16 DEC VALS(opcode)
432 replylength UINT32 DEC
433 replyopcode UINT8 DEC VALS(opcode)
434 resource-id-base UINT32 HEX resource id base
435 resource-id-mask UINT32 HEX resource id mask
436 root-x UINT16 DEC root x
437 root-y UINT16 DEC root y
438 rootwindow UINT32 HEX
440 same-screen BOOLEAN NONE same screen
441 same-screen-focus-mask UINT8 HEX
443 same-screen BOOLEAN 8 0x02
445 save-set-mode UINT8 DEC VALS(insert_delete)
446 save-under BOOLEAN NONE
449 default_colormap UINT32 HEX
450 white_pixel UINT32 HEX
451 black_pixel UINT32 HEX
452 current_input_masks UINT32 HEX
453 width_in_pixels UINT16 DEC
454 height_in_pixels UINT16 DEC
455 width_in_millimeters UINT16 DEC
456 height_in_millimeters UINT16 DEC
457 min_installed_maps UINT16 DEC
458 max_installed_maps UINT16 DEC
459 root_visual UINT32 HEX
460 backing_stores UINT8 HEX
461 save_unders BOOLEAN NONE
463 allowed_depths_len UINT8 DEC
465 screen-saver-mode UINT8 DEC VALS
475 source-pixmap UINT32 HEX
476 source-font UINT32 HEX
477 source-char UINT16 DEC
479 src-drawable UINT32 HEX
481 src-height UINT16 DEC
483 src-window UINT32 HEX
487 stack-mode UINT8 DEC VALS
490 str-number-in-path UINT16 DEC
496 string-length UINT32 DEC
497 subwindow-mode UINT8 DEC VALS
510 tile-stipple-x-origin INT16 DEC
511 tile-stipple-y-origin INT16 DEC
515 undecoded NONE NONE Yet undecoded by dissector
517 valuelength UINT32 DEC
519 visibility-state UINT8 DEC VALS
521 visual-blue UINT16 DEC
522 visual-green UINT16 DEC
523 visual-red UINT16 DEC
528 bits-per-rgb-value UINT8 DEC
529 colormap-entries UINT16 DEC
531 green-mask UINT32 HEX
534 warp-pointer-dst-window UINT32 HEX VALS(zero_is_none)
535 warp-pointer-src-window UINT32 HEX VALS(zero_is_none)
536 wid UINT32 HEX Window id
538 win-gravity UINT8 DEC VALS(gravity)
542 window-class UINT16 DEC VALS Window class
544 window-value-mask UINT32 HEX
545 background-pixmap BOOLEAN 32 0x00000001
546 background-pixel BOOLEAN 32 0x00000002
547 border-pixmap BOOLEAN 32 0x00000004
548 border-pixel BOOLEAN 32 0x00000008
549 bit-gravity BOOLEAN 32 0x00000010
550 win-gravity BOOLEAN 32 0x00000020
551 backing-store BOOLEAN 32 0x00000040
552 backing-planes BOOLEAN 32 0x00000080
553 backing-pixel BOOLEAN 32 0x00000100
554 override-redirect BOOLEAN 32 0x00000200
555 save-under BOOLEAN 32 0x00000400
556 event-mask BOOLEAN 32 0x00000800
557 do-not-propagate-mask BOOLEAN 32 0x00001000
558 colormap BOOLEAN 32 0x00002000
559 cursor BOOLEAN 32 0x00004000