2 # Fields for X11 dissector.
4 # Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
8 # Ethereal - Network traffic analyzer
9 # By Gerald Combs <gerald@ethereal.com>
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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 HEX
51 authorization-protocol-data-length UINT16 DEC
52 authorization-protocol-data STRING HEX
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 childwindow
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
129 detail UINT8 DEC detail
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 event sequencenumber
145 error UINT8 DEC error
146 error-badvalue UINT32 DEC error badvalue
147 error_sequencenumber UINT16 DEC error sequencenumber
148 errorcode UINT8 DEC VALS errrorcode
149 event-x UINT16 DEC event x
150 event-y UINT16 DEC event y
151 eventbutton UINT8 DEC eventbutton
152 eventcode UINT8 DEC VALS eventcode
153 eventwindow UINT32 HEX eventwindow
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
188 data-length UINT32 DEC
189 delete BOOLEAN NONE Delete this property after reading
192 destination UINT8 DEC VALS
193 direction UINT8 DEC VALS
195 dst-drawable UINT32 HEX
197 dst-window UINT32 HEX
200 event-detail UINT8 DEC VALS
202 event-mask UINT32 HEX
203 KeyPress BOOLEAN 32 0x00000001
204 KeyRelease BOOLEAN 32 0x00000002
205 ButtonPress BOOLEAN 32 0x00000004
206 ButtonRelease BOOLEAN 32 0x00000008
207 EnterWindow BOOLEAN 32 0x00000010
208 LeaveWindow BOOLEAN 32 0x00000020
209 PointerMotion BOOLEAN 32 0x00000040
210 PointerMotionHint BOOLEAN 32 0x00000080
211 Button1Motion BOOLEAN 32 0x00000100
212 Button2Motion BOOLEAN 32 0x00000200
213 Button3Motion BOOLEAN 32 0x00000400
214 Button4Motion BOOLEAN 32 0x00000800
215 Button5Motion BOOLEAN 32 0x00001000
216 ButtonMotion BOOLEAN 32 0x00002000
217 KeymapState BOOLEAN 32 0x00004000
218 Exposure BOOLEAN 32 0x00008000
219 VisibilityChange BOOLEAN 32 0x00010000
220 StructureNotify BOOLEAN 32 0x00020000
221 ResizeRedirect BOOLEAN 32 0x00040000
222 SubstructureNotify BOOLEAN 32 0x00080000
223 SubstructureRedirect BOOLEAN 32 0x00100000
224 FocusChange BOOLEAN 32 0x00200000
225 PropertyChange BOOLEAN 32 0x00400000
226 ColormapChange BOOLEAN 32 0x00800000
227 OwnerGrabButton BOOLEAN 32 0x01000000
228 erroneous-bits BOOLEAN 32 0xfe000000
230 exact-blue UINT16 DEC
231 exact-green UINT16 DEC
233 exposures BOOLEAN NONE
234 family UINT8 DEC VALS
235 fid UINT32 HEX Font id
236 fill-rule UINT8 DEC VALS
237 fill-style UINT8 DEC VALS
238 first-keycode UINT8 DEC
240 focus-detail UINT8 DEC VALS
241 focus-mode UINT8 DEC VALS
244 fore-green UINT16 DEC
246 foreground UINT32 HEX
248 from-configure BOOLEAN NONE
249 function UINT8 DEC VALS
251 get-property-type UINT32 HEX VALS(zero_is_any_property_type)
252 grab-mode UINT8 DEC VALS
253 grab-status UINT8 DEC VALS
254 grab-window UINT32 HEX
255 graphics-exposures BOOLEAN NONE
257 image-byte-order UINT8 HEX VALS
258 initial-connection NONE NONE undecoded
259 image-format UINT8 DEC VALS
260 image-pixmap-format UINT8 DEC VALS
263 join-style UINT8 DEC VALS
265 key-click-percent INT8 DEC
266 keyboard-key UINT8 DEC
267 keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode)
268 keybut-mask-erroneous-bits BOOLEAN 16 0xe000 keybut mask erroneous bits
269 keycode UINT8 HEX keycode
271 keyboard-value-mask UINT32 HEX
272 key-click-percent BOOLEAN 32 0x0001
273 bell-percent BOOLEAN 32 0x0002
274 bell-pitch BOOLEAN 32 0x0004
275 bell-duration BOOLEAN 32 0x0008
276 led BOOLEAN 32 0x0010
277 led-mode BOOLEAN 32 0x0020
278 keyboard-key BOOLEAN 32 0x0040
279 auto-repeat-mode BOOLEAN 32 0x0080
281 keycode-count UINT8 DEC
286 keycodes-per-modifier UINT8 DEC
294 keysyms-per-keycode UINT8 DEC
295 length-of-reason UINT8 DEC length of reason
296 length-of-vendor UINT16 DEC length of vendor
298 led-mode UINT8 DEC VALS(on_off)
300 line-style UINT8 DEC VALS
301 line-width UINT16 DEC
302 long-length UINT32 DEC The maximum length of the property in bytes
303 long-offset UINT32 DEC The starting position in the property bytes array
306 mask UINT32 HEX VALS(zero_is_none)
308 mask-font UINT32 HEX VALS(zero_is_none)
312 major-opcode UINT16 DEC major opcode
313 max-keycode UINT8 DEC max keycode
314 maximum-request-length UINT16 DEC maximum request length
315 min-keycode UINT8 DEC min keycode
316 minor-opcode UINT16 DEC minor opcode
318 modifiers-mask UINT16 HEX
319 Shift BOOLEAN 16 0x0001
320 Lock BOOLEAN 16 0x0002
321 Control BOOLEAN 16 0x0004
322 Mod1 BOOLEAN 16 0x0008
323 Mod2 BOOLEAN 16 0x0010
324 Mod3 BOOLEAN 16 0x0020
325 Mod4 BOOLEAN 16 0x0040
326 Mod5 BOOLEAN 16 0x0080
327 Button1 BOOLEAN 16 0x0100
328 Button2 BOOLEAN 16 0x0200
329 Button3 BOOLEAN 16 0x0400
330 Button4 BOOLEAN 16 0x0800
331 Button5 BOOLEAN 16 0x1000
332 AnyModifier UINT16 HEX 0x8000
333 erroneous-bits BOOLEAN 16 0xff00
335 motion-buffer-size UINT16 DEC motion buffer size
338 number-of-formats-in-pixmap-formats UINT8 DEC number of formats in pixmap formats
339 number-of-screens-in-roots UINT8 DEC number of screens in roots
342 name-length UINT16 DEC
343 odd-length BOOLEAN NONE
344 only-if-exists BOOLEAN NONE
345 opcode UINT8 DEC VALS
346 ordering UINT8 DEC VALS
347 override-redirect BOOLEAN NONE Window manager doesn't manage this window when true
348 owner UINT32 HEX VALS(zero_is_none)
349 owner-events BOOLEAN NONE
356 pattern-length UINT16 DEC
361 pixels_item UINT32 HEX
364 plane-mask UINT32 HEX VALS
371 pointer-event-mask UINT16 HEX
372 ButtonPress BOOLEAN 16 0x0004
373 ButtonRelease BOOLEAN 16 0x0008
374 EnterWindow BOOLEAN 16 0x0010
375 LeaveWindow BOOLEAN 16 0x0020
376 PointerMotion BOOLEAN 16 0x0040
377 PointerMotionHint BOOLEAN 16 0x0080
378 Button1Motion BOOLEAN 16 0x0100
379 Button2Motion BOOLEAN 16 0x0200
380 Button3Motion BOOLEAN 16 0x0400
381 Button4Motion BOOLEAN 16 0x0800
382 Button5Motion BOOLEAN 16 0x1000
383 ButtonMotion BOOLEAN 16 0x2000
384 KeymapState BOOLEAN 16 0x4000
385 erroneous-bits BOOLEAN 16 0x8003
387 pointer-mode UINT8 DEC VALS(pointer_keyboard_mode)
388 prefer-blanking UINT8 DEC VALS(yes_no_default)
390 propagate BOOLEAN NONE
396 property-number UINT16 DEC
397 property-state UINT8 DEC VALS
398 protocol-major-version UINT16 DEC
399 protocol-minor-version UINT16 DEC
400 reason STRING HEX reason
401 rectangle-height UINT16 DEC
404 rectangle-width UINT16 DEC
405 rectangle-x INT16 DEC
406 rectangle-y INT16 DEC
409 request UINT8 DEC VALS(opcode)
411 request-length UINT16 DEC Request length
412 resource UINT32 HEX VALS(all_temporary)
413 revert-to UINT8 DEC VALS
414 release-number UINT32 DEC release number
415 reply UINT8 DEC reply
416 reply-sequencenumber UINT16 DEC VALS(opcode)
417 replylength UINT32 DEC replylength
418 replyopcode UINT8 DEC VALS(opcode)
419 resource-id-base UINT32 HEX resource id base
420 resource-id-mask UINT32 HEX resource id mask
421 root-x UINT16 DEC root x
422 root-y UINT16 DEC root y
423 rootwindow UINT32 HEX rootwindow
425 same-screen BOOLEAN NONE same screen
426 same-screen-focus-mask UINT8 HEX
428 same-screen BOOLEAN 8 0x02
429 success UINT8 DEC success
430 save-set-mode UINT8 DEC VALS(insert_delete)
431 save-under BOOLEAN NONE
432 screen-saver-mode UINT8 DEC VALS
442 source-pixmap UINT32 HEX
443 source-font UINT32 HEX
444 source-char UINT16 DEC
446 src-drawable UINT32 HEX
448 src-height UINT16 DEC
450 src-window UINT32 HEX
454 stack-mode UINT8 DEC VALS
457 str-number-in-path UINT16 DEC
463 string-length UINT32 DEC
464 subwindow-mode UINT8 DEC VALS
477 tile-stipple-x-origin INT16 DEC
478 tile-stipple-y-origin INT16 DEC
482 undecoded NONE NONE Yet undecoded by dissector
484 valuelength UINT32 DEC valuelength
485 vendor STRING HEX vendor
486 visibility-state UINT8 DEC VALS
488 visual-blue UINT16 DEC
489 visual-green UINT16 DEC
490 visual-red UINT16 DEC
492 warp-pointer-dst-window UINT32 HEX VALS(zero_is_none)
493 warp-pointer-src-window UINT32 HEX VALS(zero_is_none)
494 wid UINT32 HEX Window id
496 win-gravity UINT8 DEC VALS(gravity)
500 window-class UINT16 DEC VALS Window class
502 window-value-mask UINT32 HEX
503 background-pixmap BOOLEAN 32 0x00000001
504 background-pixel BOOLEAN 32 0x00000002
505 border-pixmap BOOLEAN 32 0x00000004
506 border-pixel BOOLEAN 32 0x00000008
507 bit-gravity BOOLEAN 32 0x00000010
508 win-gravity BOOLEAN 32 0x00000020
509 backing-store BOOLEAN 32 0x00000040
510 backing-planes BOOLEAN 32 0x00000080
511 backing-pixel BOOLEAN 32 0x00000100
512 override-redirect BOOLEAN 32 0x00000200
513 save-under BOOLEAN 32 0x00000400
514 event-mask BOOLEAN 32 0x00000800
515 do-not-propagate-mask BOOLEAN 32 0x00001000
516 colormap BOOLEAN 32 0x00002000
517 cursor BOOLEAN 32 0x00004000