2 # Fields for X11 dissector.
4 # Copyright 2000, Christophe Tronche <ch.tronche@computer.org>
6 # $Id: x11-fields,v 1.11 2004/01/04 10:57:18 guy Exp $
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 acceleration-denominator INT16 DEC
28 acceleration-numerator INT16 DEC
29 access-mode UINT8 DEC VALS
32 address-length UINT16 DEC
34 allow-events-mode UINT8 DEC VALS
35 allow-exposures UINT8 DEC VALS(yes_no_default)
46 arc-mode UINT8 DEC VALS Tell us if we're drawing an arc or a pie
48 authorization-protocol-name-length UINT16 DEC
49 authorization-protocol-name STRING HEX
50 authorization-protocol-data-length UINT16 DEC
51 authorization-protocol-data STRING HEX
52 auto-repeat-mode UINT8 DEC VALS
54 bitmap-format-bit-order UINT8 HEX VALS(image_byte_order)
55 bitmap-format-scanline-pad UINT8 DEC bitmap format scanline-pad
56 bitmap-format-scanline-unit UINT8 DEC bitmap format scanline unit
57 bytes-after UINT32 DEC bytes after
58 back-blue UINT16 DEC Background blue value for a cursor
59 back-green UINT16 DEC Background green value for a cursor
60 back-red UINT16 DEC Background red value for a cursor
61 background UINT32 HEX Background color
62 background-pixel UINT32 HEX Background color for a window
63 background-pixmap UINT32 HEX VALS Background pixmap for a window
64 backing-pixel UINT32 HEX
65 backing-planes UINT32 HEX
66 backing-store UINT8 DEC VALS
67 bell-duration INT16 DEC
70 bit-gravity UINT8 DEC VALS(gravity)
74 border-pixel UINT32 HEX
75 border-pixmap UINT32 HEX VALS
76 border-width UINT16 DEC
78 byte-order UINT8 HEX VALS
80 childwindow UINT32 HEX childwindow
81 cap-style UINT8 DEC VALS
82 change-host-mode UINT8 DEC VALS(insert_delete)
85 clip-mask UINT32 HEX VALS(zero_is_none)
86 clip-x-origin INT16 DEC
87 clip-y-origin INT16 DEC
88 close-down-mode UINT8 DEC VALS
100 do-red BOOLEAN 8 0x01
101 do-green BOOLEAN 8 0x02
102 do-blue BOOLEAN 8 0x04
103 unused BOOLEAN 8 0xf8
106 colors UINT16 DEC The number of color cells to allocate
108 configure-window-mask UINT16 HEX
111 width BOOLEAN 16 0x0004
112 height BOOLEAN 16 0x0008
113 border-width BOOLEAN 16 0x0010
114 sibling BOOLEAN 16 0x0020
115 stack-mode BOOLEAN 16 0x0040
117 confine-to UINT32 HEX VALS(zero_is_none)
118 contiguous BOOLEAN NONE
119 coordinate-mode UINT8 DEC VALS
121 cursor UINT32 HEX VALS(zero_is_none)
122 dash-offset UINT16 DEC
124 dashes-length UINT16 DEC
125 do-acceleration BOOLEAN NONE
126 do-threshold BOOLEAN NONE
128 detail UINT8 DEC detail
129 do-not-propagate-mask UINT32 HEX
130 KeyPress BOOLEAN 32 0x00000001
131 KeyRelease BOOLEAN 32 0x00000002
132 ButtonPress BOOLEAN 32 0x00000004
133 ButtonRelease BOOLEAN 32 0x00000008
134 PointerMotion BOOLEAN 32 0x00000040
135 Button1Motion BOOLEAN 32 0x00000100
136 Button2Motion BOOLEAN 32 0x00000200
137 Button3Motion BOOLEAN 32 0x00000400
138 Button4Motion BOOLEAN 32 0x00000800
139 Button5Motion BOOLEAN 32 0x00001000
140 ButtonMotion BOOLEAN 32 0x00002000
141 erroneous-bits BOOLEAN 32 0xffffc0b0
143 event-sequencenumber UINT16 DEC event sequencenumber
144 error UINT8 DEC error
145 error-badvalue UINT32 DEC error badvalue
146 error_sequencenumber UINT16 DEC error sequencenumber
147 errorcode UINT8 DEC VALS errrorcode
148 event-x UINT16 DEC event x
149 event-y UINT16 DEC event y
150 eventbutton UINT8 DEC eventbutton
151 eventcode UINT8 DEC VALS eventcode
152 eventwindow UINT32 HEX eventwindow
156 gc-value-mask UINT32 HEX
157 function BOOLEAN 32 0x00000001
158 plane-mask BOOLEAN 32 0x00000002
159 foreground BOOLEAN 32 0x00000004
160 background BOOLEAN 32 0x00000008
161 line-width BOOLEAN 32 0x00000010
162 line-style BOOLEAN 32 0x00000020
163 cap-style BOOLEAN 32 0x00000040
164 join-style BOOLEAN 32 0x00000080
165 fill-style BOOLEAN 32 0x00000100
166 fill-rule BOOLEAN 32 0x00000200
167 tile BOOLEAN 32 0x00000400
168 stipple BOOLEAN 32 0x00000800
169 tile-stipple-x-origin BOOLEAN 32 0x00001000
170 tile-stipple-y-origin BOOLEAN 32 0x00002000
171 font BOOLEAN 32 0x00004000
172 subwindow-mode BOOLEAN 32 0x00008000
173 graphics-exposures BOOLEAN 32 0x00010000
174 clip-x-origin BOOLEAN 32 0x00020000
175 clip-y-origin BOOLEAN 32 0x00040000
176 clip-mask BOOLEAN 32 0x00080000
177 dash-offset BOOLEAN 32 0x00100000
178 gc-dashes BOOLEAN 32 0x00200000
179 arc-mode BOOLEAN 32 0x00400000
184 data-length UINT32 DEC
185 delete BOOLEAN NONE Delete this property after reading
188 direction UINT8 DEC VALS
190 dst-drawable UINT32 HEX
192 dst-window UINT32 HEX
196 event-mask UINT32 HEX
197 KeyPress BOOLEAN 32 0x00000001
198 KeyRelease BOOLEAN 32 0x00000002
199 ButtonPress BOOLEAN 32 0x00000004
200 ButtonRelease BOOLEAN 32 0x00000008
201 EnterWindow BOOLEAN 32 0x00000010
202 LeaveWindow BOOLEAN 32 0x00000020
203 PointerMotion BOOLEAN 32 0x00000040
204 PointerMotionHint BOOLEAN 32 0x00000080
205 Button1Motion BOOLEAN 32 0x00000100
206 Button2Motion BOOLEAN 32 0x00000200
207 Button3Motion BOOLEAN 32 0x00000400
208 Button4Motion BOOLEAN 32 0x00000800
209 Button5Motion BOOLEAN 32 0x00001000
210 ButtonMotion BOOLEAN 32 0x00002000
211 KeymapState BOOLEAN 32 0x00004000
212 Exposure BOOLEAN 32 0x00008000
213 VisibilityChange BOOLEAN 32 0x00010000
214 StructureNotify BOOLEAN 32 0x00020000
215 ResizeRedirect BOOLEAN 32 0x00040000
216 SubstructureNotify BOOLEAN 32 0x00080000
217 SubstructureRedirect BOOLEAN 32 0x00100000
218 FocusChange BOOLEAN 32 0x00200000
219 PropertyChange BOOLEAN 32 0x00400000
220 ColormapChange BOOLEAN 32 0x00800000
221 OwnerGrabButton BOOLEAN 32 0x01000000
222 erroneous-bits BOOLEAN 32 0xfe000000
224 exposures BOOLEAN NONE
225 family UINT8 DEC VALS
226 fid UINT32 HEX Font id
227 fill-rule UINT8 DEC VALS
228 fill-style UINT8 DEC VALS
229 first-keycode UINT8 DEC
233 fore-green UINT16 DEC
235 foreground UINT32 HEX
237 function UINT8 DEC VALS
239 get-property-type UINT32 HEX VALS(zero_is_any_property_type)
240 grab_window UINT32 HEX
241 graphics-exposures BOOLEAN NONE
243 image-byte-order UINT8 HEX VALS
244 initial-connection NONE NONE undecoded
245 image-format UINT8 DEC VALS
246 image-pixmap-format UINT8 DEC VALS
249 join-style UINT8 DEC VALS
251 key-click-percent INT8 DEC
252 keyboard-key UINT8 DEC
253 keyboard-mode UINT8 DEC VALS(pointer_keyboard_mode)
254 keybut-mask-erroneous-bits BOOLEAN 16 0xe000 keybut mask erroneous bits
255 keycode UINT8 HEX keycode
257 keyboard-value-mask UINT32 HEX
258 key-click-percent BOOLEAN 32 0x0001
259 bell-percent BOOLEAN 32 0x0002
260 bell-pitch BOOLEAN 32 0x0004
261 bell-duration BOOLEAN 32 0x0008
262 led BOOLEAN 32 0x0010
263 led-mode BOOLEAN 32 0x0020
264 keyboard-key BOOLEAN 32 0x0040
265 auto-repeat-mode BOOLEAN 32 0x0080
267 keycode-count UINT8 DEC
272 keycodes-per-modifier UINT8 DEC
278 keysyms-per-keycode UINT8 DEC
279 length-of-reason UINT8 DEC length of reason
280 length-of-vendor UINT16 DEC length of vendor
282 led-mode UINT8 DEC VALS(on_off)
284 line-style UINT8 DEC VALS
285 line-width UINT16 DEC
286 long-length UINT32 DEC The maximum length of the property in bytes
287 long-offset UINT32 DEC The starting position in the property bytes array
290 mask UINT32 HEX VALS(zero_is_none)
292 mask-font UINT32 HEX VALS(zero_is_none)
296 major-opcode UINT16 DEC major opcode
297 max-keycode UINT8 DEC max keycode
298 maximum-request-length UINT16 DEC maximum request length
299 min-keycode UINT8 DEC min keycode
300 minor-opcode UINT16 DEC minor opcode
302 modifiers-mask UINT16 HEX
303 Shift BOOLEAN 16 0x0001
304 Lock BOOLEAN 16 0x0002
305 Control BOOLEAN 16 0x0004
306 Mod1 BOOLEAN 16 0x0008
307 Mod2 BOOLEAN 16 0x0010
308 Mod3 BOOLEAN 16 0x0020
309 Mod4 BOOLEAN 16 0x0040
310 Mod5 BOOLEAN 16 0x0080
311 Button1 BOOLEAN 16 0x0100
312 Button2 BOOLEAN 16 0x0200
313 Button3 BOOLEAN 16 0x0400
314 Button4 BOOLEAN 16 0x0800
315 Button5 BOOLEAN 16 0x1000
316 AnyModifier UINT16 HEX 0x8000
317 erroneous-bits BOOLEAN 16 0xff00
319 motion-buffer-size UINT16 DEC motion buffer size
321 number-of-formats-in-pixmap-formats UINT8 DEC number of formats in pixmap formats
322 number-of-screens-in-roots UINT8 DEC number of screens in roots
325 name-length UINT16 DEC
326 odd-length BOOLEAN NONE
327 only-if-exists BOOLEAN NONE
328 opcode UINT8 DEC VALS
329 ordering UINT8 DEC VALS
330 override-redirect BOOLEAN NONE Window manager doesn't manage this window when true
331 owner UINT32 HEX VALS(zero_is_none)
332 owner-events BOOLEAN NONE
339 pattern-length UINT16 DEC
344 pixels_item UINT32 HEX
346 plane-mask UINT32 HEX VALS
353 pointer-event-mask UINT16 HEX
354 ButtonPress BOOLEAN 16 0x0004
355 ButtonRelease BOOLEAN 16 0x0008
356 EnterWindow BOOLEAN 16 0x0010
357 LeaveWindow BOOLEAN 16 0x0020
358 PointerMotion BOOLEAN 16 0x0040
359 PointerMotionHint BOOLEAN 16 0x0080
360 Button1Motion BOOLEAN 16 0x0100
361 Button2Motion BOOLEAN 16 0x0200
362 Button3Motion BOOLEAN 16 0x0400
363 Button4Motion BOOLEAN 16 0x0800
364 Button5Motion BOOLEAN 16 0x1000
365 ButtonMotion BOOLEAN 16 0x2000
366 KeymapState BOOLEAN 16 0x4000
367 erroneous-bits BOOLEAN 16 0x8003
369 pointer-mode UINT8 DEC VALS(pointer_keyboard_mode)
370 prefer-blanking UINT8 DEC VALS(yes_no_default)
376 property-number UINT16 DEC
377 protocol-major-version UINT16 DEC
378 protocol-minor-version UINT16 DEC
379 reason STRING HEX reason
380 rectangle-height UINT16 DEC
383 rectangle-width UINT16 DEC
384 rectangle-x INT16 DEC
385 rectangle-y INT16 DEC
388 request UINT8 DEC VALS(opcode)
390 request-length UINT16 DEC Request length
391 resource UINT32 HEX VALS(all_temporary)
392 revert-to UINT8 DEC VALS
393 release-number UINT32 DEC release number
394 reply UINT8 DEC reply
395 reply-sequencenumber UINT16 DEC VALS(opcode)
396 replylength UINT32 DEC replylength
397 replyopcode UINT8 DEC VALS(opcode)
398 resource-id-base UINT32 HEX resource id base
399 resource-id-mask UINT32 HEX resource id mask
400 root-x UINT16 DEC root x
401 root-y UINT16 DEC root y
402 rootwindow UINT32 HEX rootwindow
404 same-screen BOOLEAN NONE same screen
405 success UINT8 DEC success
406 save-set-mode UINT8 DEC VALS(insert_delete)
407 save-under BOOLEAN NONE
408 screen-saver-mode UINT8 DEC VALS
418 source-pixmap UINT32 HEX
419 source-font UINT32 HEX
420 source-char UINT16 DEC
422 src-drawable UINT32 HEX
424 src-height UINT16 DEC
426 src-window UINT32 HEX
430 stack-mode UINT8 DEC VALS
433 str-number-in-path UINT16 DEC
439 string-length UINT32 DEC
440 subwindow-mode UINT8 DEC VALS
453 tile-stipple-x-origin INT16 DEC
454 tile-stipple-y-origin INT16 DEC
458 undecoded NONE NONE Yet undecoded by dissector
460 valuelength UINT32 DEC valuelength
461 vendor STRING HEX vendor
464 warp-pointer-dst-window UINT32 HEX VALS(zero_is_none)
465 warp-pointer-src-window UINT32 HEX VALS(zero_is_none)
466 wid UINT32 HEX Window id
468 win-gravity UINT8 DEC VALS(gravity)
470 window-class UINT16 DEC VALS Window class
472 window-value-mask UINT32 HEX
473 background-pixmap BOOLEAN 32 0x00000001
474 background-pixel BOOLEAN 32 0x00000002
475 border-pixmap BOOLEAN 32 0x00000004
476 border-pixel BOOLEAN 32 0x00000008
477 bit-gravity BOOLEAN 32 0x00000010
478 win-gravity BOOLEAN 32 0x00000020
479 backing-store BOOLEAN 32 0x00000040
480 backing-planes BOOLEAN 32 0x00000080
481 backing-pixel BOOLEAN 32 0x00000100
482 override-redirect BOOLEAN 32 0x00000200
483 save-under BOOLEAN 32 0x00000400
484 event-mask BOOLEAN 32 0x00000800
485 do-not-propagate-mask BOOLEAN 32 0x00001000
486 colormap BOOLEAN 32 0x00002000
487 cursor BOOLEAN 32 0x00004000