2 # Fields for X11 dissector.
4 # Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
8 # Wireshark - Network traffic analyzer
9 # By Gerald Combs <gerald@wireshark.org>
10 # Copyright 1998 Gerald Combs
12 # This program is free software; you can redistribute it and/or
13 # modify it under the terms of the GNU General Public License
14 # as published by the Free Software Foundation; either version 2
15 # of the License, or (at your option) any later version.
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
22 # You should have received a copy of the GNU General Public License
23 # along with this program; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
27 above-sibling UINT32 HEX
28 acceleration-denominator INT16 DEC
29 acceleration-numerator INT16 DEC
30 access-mode UINT8 DEC VALS
33 address-length UINT16 DEC
35 allow-events-mode UINT8 DEC VALS
36 allow-exposures UINT8 DEC VALS(yes_no_default)
47 arc-mode UINT8 DEC VALS Tell us if we're drawing an arc or a pie
49 authorization-protocol-name-length UINT16 DEC
50 authorization-protocol-name STRING NONE
51 authorization-protocol-data-length UINT16 DEC
52 authorization-protocol-data STRING NONE
53 auto-repeat-mode UINT8 DEC VALS
55 bitmap-format-bit-order UINT8 HEX VALS(image_byte_order)
56 bitmap-format-scanline-pad UINT8 DEC bitmap format scanline-pad
57 bitmap-format-scanline-unit UINT8 DEC bitmap format scanline unit
58 bytes-after UINT32 DEC bytes after
59 back-blue UINT16 DEC Background blue value for a cursor
60 back-green UINT16 DEC Background green value for a cursor
61 back-red UINT16 DEC Background red value for a cursor
62 background UINT32 HEX Background color
63 background-pixel UINT32 HEX Background color for a window
64 background-pixmap UINT32 HEX VALS Background pixmap for a window
65 backing-pixel UINT32 HEX
66 backing-planes UINT32 HEX
67 backing-store UINT8 DEC VALS
68 bell-duration INT16 DEC
71 bit-gravity UINT8 DEC VALS(gravity)
75 border-pixel UINT32 HEX
76 border-pixmap UINT32 HEX VALS
77 border-width UINT16 DEC
79 byte-order UINT8 HEX VALS
81 childwindow UINT32 HEX
82 cap-style UINT8 DEC VALS
83 change-host-mode UINT8 DEC VALS(insert_delete)
86 clip-mask UINT32 HEX VALS(zero_is_none)
87 clip-x-origin INT16 DEC
88 clip-y-origin INT16 DEC
89 close-down-mode UINT8 DEC VALS
92 colormap-state UINT8 DEC VALS
101 do-red BOOLEAN 8 0x01
102 do-green BOOLEAN 8 0x02
103 do-blue BOOLEAN 8 0x04
104 unused BOOLEAN 8 0xf8
107 colors UINT16 DEC The number of color cells to allocate
109 configure-window-mask UINT16 HEX
112 width BOOLEAN 16 0x0004
113 height BOOLEAN 16 0x0008
114 border-width BOOLEAN 16 0x0010
115 sibling BOOLEAN 16 0x0020
116 stack-mode BOOLEAN 16 0x0040
118 confine-to UINT32 HEX VALS(zero_is_none)
119 contiguous BOOLEAN NONE
120 coordinate-mode UINT8 DEC VALS
122 cursor UINT32 HEX VALS(zero_is_none)
123 dash-offset UINT16 DEC
125 dashes-length UINT16 DEC
126 do-acceleration BOOLEAN NONE
127 do-threshold BOOLEAN NONE
130 do-not-propagate-mask UINT32 HEX
131 KeyPress BOOLEAN 32 0x00000001
132 KeyRelease BOOLEAN 32 0x00000002
133 ButtonPress BOOLEAN 32 0x00000004
134 ButtonRelease BOOLEAN 32 0x00000008
135 PointerMotion BOOLEAN 32 0x00000040
136 Button1Motion BOOLEAN 32 0x00000100
137 Button2Motion BOOLEAN 32 0x00000200
138 Button3Motion BOOLEAN 32 0x00000400
139 Button4Motion BOOLEAN 32 0x00000800
140 Button5Motion BOOLEAN 32 0x00001000
141 ButtonMotion BOOLEAN 32 0x00002000
142 erroneous-bits BOOLEAN 32 0xffffc0b0
144 event-sequencenumber UINT16 DEC
146 error-badvalue UINT32 DEC error badvalue
147 error_sequencenumber UINT16 DEC error sequencenumber
148 errorcode UINT8 DEC VALS
149 event-x UINT16 DEC event x
150 event-y UINT16 DEC event y
151 eventbutton UINT8 DEC
152 eventcode UINT8 DEC VALS
153 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 destination UINT8 DEC VALS
197 direction UINT8 DEC VALS
199 dst-drawable UINT32 HEX
201 dst-window UINT32 HEX
204 event-detail UINT8 DEC VALS
206 event-mask UINT32 HEX
207 KeyPress BOOLEAN 32 0x00000001
208 KeyRelease BOOLEAN 32 0x00000002
209 ButtonPress BOOLEAN 32 0x00000004
210 ButtonRelease BOOLEAN 32 0x00000008
211 EnterWindow BOOLEAN 32 0x00000010
212 LeaveWindow BOOLEAN 32 0x00000020
213 PointerMotion BOOLEAN 32 0x00000040
214 PointerMotionHint BOOLEAN 32 0x00000080
215 Button1Motion BOOLEAN 32 0x00000100
216 Button2Motion BOOLEAN 32 0x00000200
217 Button3Motion BOOLEAN 32 0x00000400
218 Button4Motion BOOLEAN 32 0x00000800
219 Button5Motion BOOLEAN 32 0x00001000
220 ButtonMotion BOOLEAN 32 0x00002000
221 KeymapState BOOLEAN 32 0x00004000
222 Exposure BOOLEAN 32 0x00008000
223 VisibilityChange BOOLEAN 32 0x00010000
224 StructureNotify BOOLEAN 32 0x00020000
225 ResizeRedirect BOOLEAN 32 0x00040000
226 SubstructureNotify BOOLEAN 32 0x00080000
227 SubstructureRedirect BOOLEAN 32 0x00100000
228 FocusChange BOOLEAN 32 0x00200000
229 PropertyChange BOOLEAN 32 0x00400000
230 ColormapChange BOOLEAN 32 0x00800000
231 OwnerGrabButton BOOLEAN 32 0x01000000
232 erroneous-bits BOOLEAN 32 0xfe000000
234 exact-blue UINT16 DEC
235 exact-green UINT16 DEC
237 exposures BOOLEAN NONE
238 family UINT8 DEC VALS
239 fid UINT32 HEX Font id
240 fill-rule UINT8 DEC VALS
241 fill-style UINT8 DEC VALS
242 first-keycode UINT8 DEC
244 focus-detail UINT8 DEC VALS
245 focus-mode UINT8 DEC VALS
248 fore-green UINT16 DEC
250 foreground UINT32 HEX
252 from-configure BOOLEAN NONE
253 function UINT8 DEC VALS
255 get-property-type UINT32 HEX VALS(zero_is_any_property_type)
256 grab-mode UINT8 DEC VALS
257 grab-status UINT8 DEC VALS
258 grab-window UINT32 HEX
259 graphics-exposures BOOLEAN NONE
261 image-byte-order UINT8 HEX VALS
262 initial-connection NONE NONE undecoded
263 image-format UINT8 DEC VALS
264 image-pixmap-format UINT8 DEC VALS
267 join-style UINT8 DEC VALS
269 key-click-percent INT8 DEC
270 keyboard-key UINT8 DEC
271 keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode)
272 keybut-mask-erroneous-bits BOOLEAN 16 0xe000 keybut mask erroneous bits
275 keyboard-value-mask UINT32 HEX
276 key-click-percent BOOLEAN 32 0x0001
277 bell-percent BOOLEAN 32 0x0002
278 bell-pitch BOOLEAN 32 0x0004
279 bell-duration BOOLEAN 32 0x0008
280 led BOOLEAN 32 0x0010
281 led-mode BOOLEAN 32 0x0020
282 keyboard-key BOOLEAN 32 0x0040
283 auto-repeat-mode BOOLEAN 32 0x0080
285 keycode-count UINT8 DEC
290 keycodes-per-modifier UINT8 DEC
298 keysyms-per-keycode UINT8 DEC
299 length-of-reason UINT8 DEC length of reason
300 length-of-vendor UINT16 DEC length of vendor
302 led-mode UINT8 DEC VALS(on_off)
304 line-style UINT8 DEC VALS
305 line-width UINT16 DEC
306 long-length UINT32 DEC The maximum length of the property in bytes
307 long-offset UINT32 DEC The starting position in the property bytes array
310 mapping-request UINT8 DEC VALS(mapping_request)
311 mask UINT32 HEX VALS(zero_is_none)
313 mask-font UINT32 HEX VALS(zero_is_none)
317 major-opcode UINT16 DEC major opcode
318 max-keycode UINT8 DEC max keycode
319 maximum-request-length UINT16 DEC maximum request length
320 min-keycode UINT8 DEC min keycode
321 minor-opcode UINT16 DEC minor opcode
323 modifiers-mask UINT16 HEX
324 Shift BOOLEAN 16 0x0001
325 Lock BOOLEAN 16 0x0002
326 Control BOOLEAN 16 0x0004
327 Mod1 BOOLEAN 16 0x0008
328 Mod2 BOOLEAN 16 0x0010
329 Mod3 BOOLEAN 16 0x0020
330 Mod4 BOOLEAN 16 0x0040
331 Mod5 BOOLEAN 16 0x0080
332 Button1 BOOLEAN 16 0x0100
333 Button2 BOOLEAN 16 0x0200
334 Button3 BOOLEAN 16 0x0400
335 Button4 BOOLEAN 16 0x0800
336 Button5 BOOLEAN 16 0x1000
337 AnyModifier UINT16 HEX 0x8000
338 erroneous-bits BOOLEAN 16 0xff00
340 motion-buffer-size UINT16 DEC motion buffer size
343 number-of-formats-in-pixmap-formats UINT8 DEC number of formats in pixmap formats
344 number-of-screens-in-roots UINT8 DEC number of screens in roots
347 name-length UINT16 DEC
348 odd-length BOOLEAN NONE
349 only-if-exists BOOLEAN NONE
350 opcode UINT8 DEC VALS
351 ordering UINT8 DEC VALS
352 override-redirect BOOLEAN NONE Window manager doesn't manage this window when true
353 owner UINT32 HEX VALS(zero_is_none)
354 owner-events BOOLEAN NONE
361 pattern-length UINT16 DEC
366 pixels_item UINT32 HEX
369 plane-mask UINT32 HEX VALS
376 pointer-event-mask UINT16 HEX
377 ButtonPress BOOLEAN 16 0x0004
378 ButtonRelease BOOLEAN 16 0x0008
379 EnterWindow BOOLEAN 16 0x0010
380 LeaveWindow BOOLEAN 16 0x0020
381 PointerMotion BOOLEAN 16 0x0040
382 PointerMotionHint BOOLEAN 16 0x0080
383 Button1Motion BOOLEAN 16 0x0100
384 Button2Motion BOOLEAN 16 0x0200
385 Button3Motion BOOLEAN 16 0x0400
386 Button4Motion BOOLEAN 16 0x0800
387 Button5Motion BOOLEAN 16 0x1000
388 ButtonMotion BOOLEAN 16 0x2000
389 KeymapState BOOLEAN 16 0x4000
390 erroneous-bits BOOLEAN 16 0x8003
392 pointer-mode UINT8 DEC VALS(pointer_keyboard_mode)
393 prefer-blanking UINT8 DEC VALS(yes_no_default)
395 propagate BOOLEAN NONE
401 property-number UINT16 DEC
402 property-state UINT8 DEC VALS
403 protocol-major-version UINT16 DEC
404 protocol-minor-version UINT16 DEC
406 rectangle-height UINT16 DEC
409 rectangle-width UINT16 DEC
410 rectangle-x INT16 DEC
411 rectangle-y INT16 DEC
414 request UINT8 DEC VALS(opcode)
416 request-length UINT16 DEC Request length
417 resource UINT32 HEX VALS(all_temporary)
418 revert-to UINT8 DEC VALS
419 release-number UINT32 DEC release number
421 reply-sequencenumber UINT16 DEC VALS(opcode)
422 replylength UINT32 DEC
423 replyopcode UINT8 DEC VALS(opcode)
424 resource-id-base UINT32 HEX resource id base
425 resource-id-mask UINT32 HEX resource id mask
426 root-x UINT16 DEC root x
427 root-y UINT16 DEC root y
428 rootwindow UINT32 HEX
430 same-screen BOOLEAN NONE same screen
431 same-screen-focus-mask UINT8 HEX
433 same-screen BOOLEAN 8 0x02
435 save-set-mode UINT8 DEC VALS(insert_delete)
436 save-under BOOLEAN NONE
437 screen-saver-mode UINT8 DEC VALS
447 source-pixmap UINT32 HEX
448 source-font UINT32 HEX
449 source-char UINT16 DEC
451 src-drawable UINT32 HEX
453 src-height UINT16 DEC
455 src-window UINT32 HEX
459 stack-mode UINT8 DEC VALS
462 str-number-in-path UINT16 DEC
468 string-length UINT32 DEC
469 subwindow-mode UINT8 DEC VALS
482 tile-stipple-x-origin INT16 DEC
483 tile-stipple-y-origin INT16 DEC
487 undecoded NONE NONE Yet undecoded by dissector
489 valuelength UINT32 DEC
491 visibility-state UINT8 DEC VALS
493 visual-blue UINT16 DEC
494 visual-green UINT16 DEC
495 visual-red UINT16 DEC
497 warp-pointer-dst-window UINT32 HEX VALS(zero_is_none)
498 warp-pointer-src-window UINT32 HEX VALS(zero_is_none)
499 wid UINT32 HEX Window id
501 win-gravity UINT8 DEC VALS(gravity)
505 window-class UINT16 DEC VALS Window class
507 window-value-mask UINT32 HEX
508 background-pixmap BOOLEAN 32 0x00000001
509 background-pixel BOOLEAN 32 0x00000002
510 border-pixmap BOOLEAN 32 0x00000004
511 border-pixel BOOLEAN 32 0x00000008
512 bit-gravity BOOLEAN 32 0x00000010
513 win-gravity BOOLEAN 32 0x00000020
514 backing-store BOOLEAN 32 0x00000040
515 backing-planes BOOLEAN 32 0x00000080
516 backing-pixel BOOLEAN 32 0x00000100
517 override-redirect BOOLEAN 32 0x00000200
518 save-under BOOLEAN 32 0x00000400
519 event-mask BOOLEAN 32 0x00000800
520 do-not-propagate-mask BOOLEAN 32 0x00001000
521 colormap BOOLEAN 32 0x00002000
522 cursor BOOLEAN 32 0x00004000